Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2014 13:27:53 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r371634 - branches/2014Q4/games/arx-libertatis
Message-ID:  <201410281327.s9SDRrQc053903@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410281327.s9SDRrQc053903>