aboutsummaryrefslogtreecommitdiff
path: root/games/arx-libertatis
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-11-22 05:30:02 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-11-22 05:30:02 +0000
commitc52e30d2e184762252bc23e1cdec38e8c9ee48e2 (patch)
treebb40c4d328e67424ad4bd5948a11224a2df01def /games/arx-libertatis
parent18a5ffe5e7e3123197f486b53766f515327a4aad (diff)
downloadports-c52e30d2e184762252bc23e1cdec38e8c9ee48e2.tar.gz
ports-c52e30d2e184762252bc23e1cdec38e8c9ee48e2.zip
Notes
Diffstat (limited to 'games/arx-libertatis')
-rw-r--r--games/arx-libertatis/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/games/arx-libertatis/Makefile b/games/arx-libertatis/Makefile
index e8393f2b616e..b813ea95ca1b 100644
--- a/games/arx-libertatis/Makefile
+++ b/games/arx-libertatis/Makefile
@@ -13,10 +13,9 @@ COMMENT= Cross-platform port of Arx Fatalis
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