Date: Wed, 19 Feb 2014 16:06:32 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r345107 - head/games/ggz-txt-client Message-ID: <201402191606.s1JG6W7b033998@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402191606.s1JG6W7b033998>