diff options
author | marino <marino@FreeBSD.org> | 2014-02-20 01:05:18 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-02-20 01:05:18 +0800 |
commit | 9e8ec52e444989c6cc313a8f917d73e3f6de7d16 (patch) | |
tree | b1949bc36805e31ae2f8818bbc8eb6e1dbbe40be /games | |
parent | 63164445839757ce67103d221b4c1f7c28f69384 (diff) | |
download | freebsd-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/Makefile | 12 |
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 |