aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-02-20 01:05:18 +0800
committermarino <marino@FreeBSD.org>2014-02-20 01:05:18 +0800
commit9e8ec52e444989c6cc313a8f917d73e3f6de7d16 (patch)
treeb1949bc36805e31ae2f8818bbc8eb6e1dbbe40be /games
parent63164445839757ce67103d221b4c1f7c28f69384 (diff)
downloadfreebsd-ports-gnome-9e8ec52e444989c6cc313a8f917d73e3f6de7d16.tar.gz
freebsd-ports-gnome-9e8ec52e444989c6cc313a8f917d73e3f6de7d16.tar.zst
freebsd-ports-gnome-9e8ec52e444989c6cc313a8f917d73e3f6de7d16.zip
games/ggz-gtk-games: Fix for modern binutils
Needs explicit linking to libggzcore.
Diffstat (limited to 'games')
-rw-r--r--games/ggz-gtk-games/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/ggz-gtk-games/Makefile b/games/ggz-gtk-games/Makefile
index b44e647a7f54..bb7b9f6614d4 100644
--- a/games/ggz-gtk-games/Makefile
+++ b/games/ggz-gtk-games/Makefile
@@ -28,6 +28,18 @@ OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ARGS= --disable-nls
+post-patch:
+ @${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = -lggzcore|' \
+ ${WRKSRC}/chess/Makefile.in \
+ ${WRKSRC}/chinese-checkers/Makefile.in \
+ ${WRKSRC}/combat/Makefile.in \
+ ${WRKSRC}/dots/Makefile.in \
+ ${WRKSRC}/ggzcards/Makefile.in \
+ ${WRKSRC}/hastings/Makefile.in \
+ ${WRKSRC}/reversi/Makefile.in \
+ ${WRKSRC}/spades/Makefile.in \
+ ${WRKSRC}/tictactoe/Makefile.in
+
post-install:
${INSTALL_DATA} ${WRKSRC}/chess/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/chess.dsc
${INSTALL_DATA} ${WRKSRC}/chinese-checkers/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/chinese-checkers.dsc