svn commit: r327205 - head/games/fishsupper
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Sep 14 01:16:09 UTC 2013
Author: amdmi3
Date: Sat Sep 14 01:16:08 2013
New Revision: 327205
URL: http://svnweb.freebsd.org/changeset/ports/327205
Log:
Fix build with clang/libc++
Modified:
head/games/fishsupper/Makefile
Modified: head/games/fishsupper/Makefile
==============================================================================
--- head/games/fishsupper/Makefile Sat Sep 14 01:15:56 2013 (r327204)
+++ head/games/fishsupper/Makefile Sat Sep 14 01:16:08 2013 (r327205)
@@ -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}
More information about the svn-ports-all
mailing list