diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-04-11 08:34:17 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-04-11 08:34:17 +0000 |
commit | 8d27ddb9bd993385ce5d7a9b17e2fe231ec8c69f (patch) | |
tree | 82565381028ebd8b5a674bafdecce3a45c5c2e6d /games | |
parent | 0a59b351f616abe849539bc2afbc8eba4abe8004 (diff) | |
download | ports-8d27ddb9bd993385ce5d7a9b17e2fe231ec8c69f.tar.gz ports-8d27ddb9bd993385ce5d7a9b17e2fe231ec8c69f.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/latrine/Makefile | 10 | ||||
-rw-r--r-- | games/mangband/Makefile | 2 |
2 files changed, 2 insertions, 10 deletions
diff --git a/games/latrine/Makefile b/games/latrine/Makefile index 4021a95be645..c6c631353c69 100644 --- a/games/latrine/Makefile +++ b/games/latrine/Makefile @@ -18,22 +18,14 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= "CFLAGS=-I${LOCALBASE}/include -I${WRKDIR} -D_XOPEN_SOURCE_EXTENDED" LDFLAGS=-L${LOCALBASE}/lib USE_GMAKE= yes USE_GETTEXT= yes +USE_NCURSES= yes WRKSRC= ${WRKDIR}/${DISTNAME}/src MAN1= latrine.1 .include <bsd.port.pre.mk> -.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033) -LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses -.endif - post-patch: -.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033) - ${MKDIR} ${WRKDIR}/ncursesw - ${LN} -s ${LOCALBASE}/include/ncurses/ncurses.h ${WRKDIR}/ncursesw/ncurses.h -.else @${REINPLACE_CMD} -e 's,ncursesw/ncurses.h,ncurses.h,' \ ${WRKSRC}/charset.h ${WRKSRC}/screen.c -.endif .include <bsd.port.post.mk> diff --git a/games/mangband/Makefile b/games/mangband/Makefile index 5cf0d1269c3c..e43ac7ea8e78 100644 --- a/games/mangband/Makefile +++ b/games/mangband/Makefile @@ -17,6 +17,7 @@ ALL_TARGET= mangclient mangband WRKSRC= ${WRKDIR}/${DISTNAME}/src GNU_CONFIGURE= yes USE_GMAKE= yes +USE_NCURSES= yes MAKE_ARGS= "DATADIR=${DATADIR}" @@ -27,7 +28,6 @@ OPTIONS= GCU "Display module GCU" On \ .include <bsd.port.pre.mk> .if defined(WITH_GCU) -#LIB_DEPENDS+= ncurses:${PORTSDIR}/devel/ncurses CONFIGURE_ARGS+= --with-gcu .else CONFIGURE_ARGS+= --without-gcu |