diff options
Diffstat (limited to 'games/nuclearchess/Makefile')
-rw-r--r-- | games/nuclearchess/Makefile | 4 |
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/ |