Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2014 05:30:03 +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: r373032 - head/games/arx-libertatis
Message-ID:  <201411220530.sAM5U3Ul049559@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Nov 22 05:30:02 2014
New Revision: 373032
URL: https://svnweb.freebsd.org/changeset/ports/373032
QAT: https://qat.redports.org/buildarchive/r373032/

Log:
  - Correct depends
  - Update OSVERSION ranges for clang bug workaround

Modified:
  head/games/arx-libertatis/Makefile

Modified: head/games/arx-libertatis/Makefile
==============================================================================
--- head/games/arx-libertatis/Makefile	Sat Nov 22 03:22:41 2014	(r373031)
+++ head/games/arx-libertatis/Makefile	Sat Nov 22 05:30:02 2014	(r373032)
@@ -13,10 +13,9 @@ COMMENT=	Cross-platform port of Arx Fata
 LICENSE=	GPLv3 # or later
 LICENSE_FILE=	${WRKSRC}/ARX_PUBLIC_LICENSE.txt
 
-LIB_DEPENDS=	libIL.so:${PORTSDIR}/graphics/devil \
-		libGLEW.so:${PORTSDIR}/graphics/glew \
-		libfreetype.so:${PORTSDIR}/print/freetype2 \
-		libboost_program_options.so:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS=	libGLEW.so:${PORTSDIR}/graphics/glew \
+		libfreetype.so:${PORTSDIR}/print/freetype2
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/foreach.hpp:${PORTSDIR}/devel/boost-libs
 
 USES=		cmake openal tar:xz
 USE_SDL=	sdl
@@ -42,7 +41,7 @@ PLIST_SUB+=	CRASHREPORTER="@comment "
 .endif
 
 post-patch:
-.if ${OSVERSION} >= 1000705
+.if (${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?201411220530.sAM5U3Ul049559>