svn commit: r345107 - head/games/ggz-txt-client
John Marino
marino at FreeBSD.org
Wed Feb 19 16:06:33 UTC 2014
Author: marino
Date: Wed Feb 19 16:06:32 2014
New Revision: 345107
URL: http://svnweb.freebsd.org/changeset/ports/345107
QAT: https://qat.redports.org/buildarchive/r345107/
Log:
games/ggz-txt-client: Fix for modern binutils
Needs explicit linking to libexpat and libggzcore.
While here, bring in USES=readline from dports.
Modified:
head/games/ggz-txt-client/Makefile
Modified: head/games/ggz-txt-client/Makefile
==============================================================================
--- head/games/ggz-txt-client/Makefile Wed Feb 19 15:47:55 2014 (r345106)
+++ head/games/ggz-txt-client/Makefile Wed Feb 19 16:06:32 2014 (r345107)
@@ -9,6 +9,7 @@ CATEGORIES= games
MAINTAINER= ports at 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
More information about the svn-ports-all
mailing list