aboutsummaryrefslogtreecommitdiff
path: root/games/nuclearchess/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/nuclearchess/Makefile')
-rw-r--r--games/nuclearchess/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/nuclearchess/Makefile b/games/nuclearchess/Makefile
index 7f33e45b5726..6f687972851f 100644
--- a/games/nuclearchess/Makefile
+++ b/games/nuclearchess/Makefile
@@ -28,6 +28,10 @@ OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="NuclearChess" "" "${PORTNAME}" \
"${PORTNAME}" "Game;BoardGame;" ""
+post-patch:
+ @${REINPLACE_CMD} '/^nuclearchess_LDADD =/s/$$/ -lm/' \
+ ${WRKSRC}/src/Makefile.in
+
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/