summaryrefslogtreecommitdiff
path: root/devel/simgear/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/simgear/Makefile')
-rw-r--r--devel/simgear/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/simgear/Makefile b/devel/simgear/Makefile
index c5818986c1b8..023ca4ed127f 100644
--- a/devel/simgear/Makefile
+++ b/devel/simgear/Makefile
@@ -2,7 +2,7 @@
PORTNAME= simgear
PORTVERSION= 2018.3.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel games
MASTER_SITES= SF/flightgear/release-${PORTVERSION:R}
@@ -14,7 +14,8 @@ LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
- libosg.so:graphics/osg
+ libosg.so:graphics/osg \
+ libexpat.so:textproc/expat2
USES= alias cmake compiler:c++11-lib cpe gl jpeg openal:al,alut \
tar:bzip2
@@ -24,6 +25,8 @@ USE_GL= gl glu glut
LDFLAGS_gcc= -losgDB
LDFLAGS+= ${LDFLAGS_${CHOSEN_COMPILER_TYPE}}
+CMAKE_ARGS+= -DSYSTEM_EXPAT:BOOL=ON
+
post-patch:
# Avoid conflict with C++20 <version> by adding .txt suffix
@${MV} ${WRKSRC}/version ${WRKSRC}/version.txt