Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2014 12:38:55 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373883 - head/games/arx-libertatis
Message-ID:  <201412041238.sB4CctDp091306@svn.freebsd.org>

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



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