diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-10-28 10:11:42 +0800 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-10-28 10:11:42 +0800 |
commit | 49ea48568e939533f069e45f807d2a6824158642 (patch) | |
tree | 16a3ed2e89aaf36930bc55d92e60d69f3353cc83 /games/arx-libertatis | |
parent | 1b8a653023d1fd669e14cb70a0add7236e72febc (diff) | |
download | freebsd-ports-gnome-49ea48568e939533f069e45f807d2a6824158642.tar.gz freebsd-ports-gnome-49ea48568e939533f069e45f807d2a6824158642.tar.zst freebsd-ports-gnome-49ea48568e939533f069e45f807d2a6824158642.zip |
- Add workaround for clang bug, seems like it's unlikely to be fixed before 10.1-RELEASE
Diffstat (limited to 'games/arx-libertatis')
-rw-r--r-- | games/arx-libertatis/Makefile | 7 |
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} |