aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-05 05:40:57 +0800
committermarino <marino@FreeBSD.org>2016-02-05 05:40:57 +0800
commit3a4457ca3cb3eae40eaad499b6591b23a8f5d307 (patch)
treef56ae7202b74e96c74717fec43a88e420acc8338
parent1b2dbaf6c4716b16e88dcd8a8c0b1d664254ba41 (diff)
downloadfreebsd-ports-gnome-3a4457ca3cb3eae40eaad499b6591b23a8f5d307.tar.gz
freebsd-ports-gnome-3a4457ca3cb3eae40eaad499b6591b23a8f5d307.tar.zst
freebsd-ports-gnome-3a4457ca3cb3eae40eaad499b6591b23a8f5d307.zip
games/jzip: USES+= ncurses, link to libncurses, not libtermcap
-rw-r--r--games/jzip/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/jzip/Makefile b/games/jzip/Makefile
index 4c01ff740714..6a6d3b9d642a 100644
--- a/games/jzip/Makefile
+++ b/games/jzip/Makefile
@@ -12,7 +12,7 @@ COMMENT= Text-mode Infocom game interpreter
NO_WRKSUBDIR= yes
-USES= zip
+USES= ncurses zip
CPPFLAGS+= -DPOSIX -DHAVE_GETOPT
@@ -27,7 +27,7 @@ post-patch:
s|^CFLAGS =|CFLAGS +=| ; \
s|-DPOSIX|$${CPPFLAGS}| ; \
s|^LDFLAGS|#LDFLAGS| ; \
- s|-lcurses|-ltermcap|' ${WRKSRC}/Makefile
+ s|-lcurses|-lncurses|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|^void main|int main|' ${WRKSRC}/jzexe.c