aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-09-14 09:13:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-09-14 09:13:28 +0800
commitff55e873b5205c3741d945a2144d59bfecc88bc9 (patch)
tree186f7166db836912f8dfbf9e31d183917c37dfd7 /games
parentdf1d50f85d74e4ec46cd9810bc01460600afc297 (diff)
downloadfreebsd-ports-gnome-ff55e873b5205c3741d945a2144d59bfecc88bc9.tar.gz
freebsd-ports-gnome-ff55e873b5205c3741d945a2144d59bfecc88bc9.tar.zst
freebsd-ports-gnome-ff55e873b5205c3741d945a2144d59bfecc88bc9.zip
Fix build with clang/libc++
Diffstat (limited to 'games')
-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