From 27e696d518274ac9d1807d7648912fce55b4f2a5 Mon Sep 17 00:00:00 2001 From: marino Date: Mon, 22 Jul 2013 18:57:44 +0000 Subject: games/*ggz*: Convert include from absolute to relative path In certain build setups, the use of an absolute path will cause the build to break. Approved by: bapt (mentor) --- games/ggz-client-libs/Makefile | 5 ++--- games/ggz-gtk-client/Makefile | 5 ++--- games/ggz-gtk-games/Makefile | 5 ++--- games/ggz-kde-client/Makefile | 13 ++++--------- games/ggz-sdl-games/Makefile | 12 +++--------- games/ggz-txt-client/Makefile | 5 ++--- games/libggz/Makefile | 5 ++--- 7 files changed, 17 insertions(+), 33 deletions(-) (limited to 'games') diff --git a/games/ggz-client-libs/Makefile b/games/ggz-client-libs/Makefile index a0746e67ab7e..3bbff946ff24 100644 --- a/games/ggz-client-libs/Makefile +++ b/games/ggz-client-libs/Makefile @@ -43,6 +43,5 @@ post-patch: post-install: @${TOUCH} ${PREFIX}/etc/ggz.modules -.include -.include "${PORTSDIR}/games/libggz/bsd.ggz.mk" -.include +.include "${.CURDIR}/../libggz/bsd.ggz.mk" +.include diff --git a/games/ggz-gtk-client/Makefile b/games/ggz-gtk-client/Makefile index 817caefadd7c..13ea7a7163cb 100644 --- a/games/ggz-gtk-client/Makefile +++ b/games/ggz-gtk-client/Makefile @@ -30,6 +30,5 @@ CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif -.include -.include "${PORTSDIR}/games/libggz/bsd.ggz.mk" -.include +.include "${.CURDIR}/../libggz/bsd.ggz.mk" +.include diff --git a/games/ggz-gtk-games/Makefile b/games/ggz-gtk-games/Makefile index 7b73f40f94c7..20f3eec831fd 100644 --- a/games/ggz-gtk-games/Makefile +++ b/games/ggz-gtk-games/Makefile @@ -40,6 +40,5 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/spades/module.dsc ${PREFIX}/share/ggz/spades.dsc ${INSTALL_DATA} ${WRKSRC}/tictactoe/module.dsc ${PREFIX}/share/ggz/tictactoe.dsc -.include -.include "${PORTSDIR}/games/libggz/bsd.ggz.mk" -.include +.include "${.CURDIR}/../libggz/bsd.ggz.mk" +.include diff --git a/games/ggz-kde-client/Makefile b/games/ggz-kde-client/Makefile index 84d9060b55bc..bf0750c0cec6 100644 --- a/games/ggz-kde-client/Makefile +++ b/games/ggz-kde-client/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: ggz-kde-client -# Date created: Feb. 19, 2006 -# Whom: yinjieh -# +# Created by: yinjieh # $FreeBSD$ -# PORTNAME= ggz-kde-client PORTVERSION= ${GGZ_VERSION} @@ -17,7 +13,7 @@ DEPRECATED= Depends on QT3; unmaintained EXPIRATION_DATE= 2013-07-01 GNU_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake USE_KDELIBS_VER= 3 USE_GGZ= client @@ -27,6 +23,5 @@ MAN6= compcal.6 ggzap.6 keepalivecontrol.6 \ post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}| ; s|echo aout|echo elf|' ${WRKSRC}/configure -.include -.include "${PORTSDIR}/games/libggz/bsd.ggz.mk" -.include +.include "${.CURDIR}/../libggz/bsd.ggz.mk" +.include diff --git a/games/ggz-sdl-games/Makefile b/games/ggz-sdl-games/Makefile index 9923211c6017..f94226c3fbe3 100644 --- a/games/ggz-sdl-games/Makefile +++ b/games/ggz-sdl-games/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: ggz-sdl-games -# Date created: Nov 7, 2005 -# Whom: yinjieh -# +# Created by: yinjieh # $FreeBSD$ -# PORTNAME= ggz-sdl-games PORTVERSION= ${GGZ_VERSION} @@ -27,6 +22,5 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/geekgame/module.dsc ${PREFIX}/share/ggz/geekgame.dsc ${INSTALL_DATA} ${WRKSRC}/ttt3d/module.dsc ${PREFIX}/share/ggz/ttt3d.dsc -.include -.include "${PORTSDIR}/games/libggz/bsd.ggz.mk" -.include +.include "${.CURDIR}/../libggz/bsd.ggz.mk" +.include diff --git a/games/ggz-txt-client/Makefile b/games/ggz-txt-client/Makefile index 09d07d333ea6..58d027f323c6 100644 --- a/games/ggz-txt-client/Makefile +++ b/games/ggz-txt-client/Makefile @@ -32,6 +32,5 @@ post-install: ${MKDIR} ${PREFIX}/share/ggz @${INSTALL_DATA} ${WRKSRC}/tttxt/module.dsc ${PREFIX}/share/ggz/tttxt.dsc -.include -.include "${PORTSDIR}/games/libggz/bsd.ggz.mk" -.include +.include "${.CURDIR}/../libggz/bsd.ggz.mk" +.include diff --git a/games/libggz/Makefile b/games/libggz/Makefile index 292d51e83d44..e7304b09480a 100644 --- a/games/libggz/Makefile +++ b/games/libggz/Makefile @@ -30,6 +30,5 @@ USE_OPENSSL= yes CONFIGURE_ARGS+= --with-tls=OpenSSL .endif -.include -.include "${PORTSDIR}/games/libggz/bsd.ggz.mk" -.include +.include "${.CURDIR}/../libggz/bsd.ggz.mk" +.include -- cgit