aboutsummaryrefslogtreecommitdiffstats
path: root/games/rezerwar
diff options
context:
space:
mode:
Diffstat (limited to 'games/rezerwar')
-rw-r--r--games/rezerwar/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/rezerwar/Makefile b/games/rezerwar/Makefile
index c91491bcf913..cd7cd668365e 100644
--- a/games/rezerwar/Makefile
+++ b/games/rezerwar/Makefile
@@ -23,8 +23,9 @@ PORTDOCS= *
.include <bsd.port.options.mk>
-.if ! ${PORT_OPTIONS:MDOCS}
post-patch:
+ @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/configure
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/TARGET_DOC/ d' ${WRKSRC}/mkfiles/Makefile.main
.endif