svn commit: r371634 - branches/2014Q4/games/arx-libertatis
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Oct 28 13:27:54 UTC 2014
Author: amdmi3
Date: Tue Oct 28 13:27:53 2014
New Revision: 371634
URL: https://svnweb.freebsd.org/changeset/ports/371634
QAT: https://qat.redports.org/buildarchive/r371634/
Log:
MFH: r371617
- Add workaround for clang bug, seems like it's unlikely to be fixed before 10.1-RELEASE
Approved by: portmgr
Modified:
branches/2014Q4/games/arx-libertatis/Makefile
Directory Properties:
branches/2014Q4/ (props changed)
Modified: branches/2014Q4/games/arx-libertatis/Makefile
==============================================================================
--- branches/2014Q4/games/arx-libertatis/Makefile Tue Oct 28 13:26:49 2014 (r371633)
+++ branches/2014Q4/games/arx-libertatis/Makefile Tue Oct 28 13:27:53 2014 (r371634)
@@ -41,6 +41,13 @@ CMAKE_ARGS+= -DBUILD_CRASHREPORTER=OFF
PLIST_SUB+= CRASHREPORTER="@comment "
.endif
+.if ${OSVERSION} >= 1000705
+# Workaround for clang 3.4 bug: it crashes when debug info is enabled
+# See http://llvm.org/bugs/show_bug.cgi?id=19031, http://llvm.org/bugs/show_bug.cgi?id=20893
+post-patch:
+ @${REINPLACE_CMD} -e '/add_cxxflag.*-g2/ d' ${WRKSRC}/CMakeLists.txt
+.endif
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
More information about the svn-ports-branches
mailing list