diff options
Diffstat (limited to 'games/latrine/Makefile')
-rw-r--r-- | games/latrine/Makefile | 10 |
1 files changed, 1 insertions, 9 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> |