svn commit: r373883 - head/games/arx-libertatis

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Dec 4 12:38:55 UTC 2014


Author: amdmi3
Date: Thu Dec  4 12:38:54 2014
New Revision: 373883
URL: https://svnweb.freebsd.org/changeset/ports/373883
QAT: https://qat.redports.org/buildarchive/r373883/

Log:
  - Check OPSYS along with OSVERSION

Modified:
  head/games/arx-libertatis/Makefile

Modified: head/games/arx-libertatis/Makefile
==============================================================================
--- head/games/arx-libertatis/Makefile	Thu Dec  4 12:29:16 2014	(r373882)
+++ head/games/arx-libertatis/Makefile	Thu Dec  4 12:38:54 2014	(r373883)
@@ -41,7 +41,7 @@ PLIST_SUB+=	CRASHREPORTER="@comment "
 .endif
 
 post-patch:
-.if (${OSVERSION} >= 1000705 && ${OSVERSION} < 1001503) || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100046)
+.if ${OPSYS} == FreeBSD && ((${OSVERSION} >= 1000705 && ${OSVERSION} < 1001503) || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100046))
 # 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
 	@${REINPLACE_CMD} -e '/add_cxxflag.*-g2/ d' ${WRKSRC}/cmake/BuildType.cmake


More information about the svn-ports-head mailing list