summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-10-28 02:11:42 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-10-28 02:11:42 +0000
commit49ea48568e939533f069e45f807d2a6824158642 (patch)
tree16a3ed2e89aaf36930bc55d92e60d69f3353cc83 /games
parent- Fix build for SMYRNA option (diff)
- Add workaround for clang bug, seems like it's unlikely to be fixed before 10.1-RELEASE
Notes
Notes: svn path=/head/; revision=371617
Diffstat (limited to 'games')
-rw-r--r--games/arx-libertatis/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/arx-libertatis/Makefile b/games/arx-libertatis/Makefile
index 926ca86d37b2..91073e1d2c29 100644
--- a/games/arx-libertatis/Makefile
+++ b/games/arx-libertatis/Makefile
@@ -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}