aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-09-14 09:16:08 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-09-14 09:16:08 +0800
commit570b511c412d9b04ed0aa791291cd9a95a2a5fc3 (patch)
treeb20451bddece3f235fb64bbabb9dac7d3be071a1 /games
parent31c2dea97956fd76aa10014b0e5b156b9c66844f (diff)
downloadfreebsd-ports-gnome-570b511c412d9b04ed0aa791291cd9a95a2a5fc3.tar.gz
freebsd-ports-gnome-570b511c412d9b04ed0aa791291cd9a95a2a5fc3.tar.zst
freebsd-ports-gnome-570b511c412d9b04ed0aa791291cd9a95a2a5fc3.zip
Fix build with clang/libc++
Diffstat (limited to 'games')
-rw-r--r--games/fishsupper/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile
index 0474fb9e64f0..ead2d3019118 100644
--- a/games/fishsupper/Makefile
+++ b/games/fishsupper/Makefile
@@ -31,6 +31,11 @@ DESKTOP_ENTRIES="Fish Supper" \
.include <bsd.port.options.mk>
+.if ${OSVERSION} > 1000000
+post-patch:
+ @${REINPLACE_CMD} -e 's|std::tr1::shared_ptr|std::shared_ptr|g' ${WRKSRC}/src/*.h ${WRKSRC}/src/*.cpp
+.endif
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}