aboutsummaryrefslogtreecommitdiff
path: root/games/ggz-txt-client
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-02-19 16:06:32 +0000
committerJohn Marino <marino@FreeBSD.org>2014-02-19 16:06:32 +0000
commit0dc6aceab682edf90678184f4d9c87b234beea49 (patch)
tree3d2015896e1bf8156c5a7ab25855704ecc9ef494 /games/ggz-txt-client
parent8e1da95b63f7e404d56204c9407c4fbbf6b45f61 (diff)
downloadports-0dc6aceab682edf90678184f4d9c87b234beea49.tar.gz
ports-0dc6aceab682edf90678184f4d9c87b234beea49.zip
Notes
Diffstat (limited to 'games/ggz-txt-client')
-rw-r--r--games/ggz-txt-client/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/ggz-txt-client/Makefile b/games/ggz-txt-client/Makefile
index a7c000a800b9..d1209d537f26 100644
--- a/games/ggz-txt-client/Makefile
+++ b/games/ggz-txt-client/Makefile
@@ -9,6 +9,7 @@ CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
COMMENT= The GGZ Gaming Zone - Console (Text) Frontend
+USES= readline
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
USE_GGZ= client
@@ -16,7 +17,7 @@ USE_GGZ= client
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -pthread
+LDFLAGS+= -L${LOCALBASE}/lib -pthread -lexpat
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
@@ -24,6 +25,10 @@ OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ARGS= --disable-nls
+post-patch:
+ @${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = $$(LIB_GGZCORE)|' \
+ ${WRKSRC}/tttxt/Makefile.in
+
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/ggz
@${INSTALL_DATA} ${WRKSRC}/tttxt/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/tttxt.dsc