svn commit: r368355 - head/games/flightgear
Ganael LAPLANCHE
martymac at FreeBSD.org
Wed Sep 17 06:10:22 UTC 2014
Author: martymac
Date: Wed Sep 17 06:10:22 2014
New Revision: 368355
URL: http://svnweb.freebsd.org/changeset/ports/368355
QAT: https://qat.redports.org/buildarchive/r368355/
Log:
Make D-BUS support optional
PR: 193631
Submitted by: <mike.d.ft402 at gmail.com>
Modified:
head/games/flightgear/Makefile
Modified: head/games/flightgear/Makefile
==============================================================================
--- head/games/flightgear/Makefile Wed Sep 17 06:07:13 2014 (r368354)
+++ head/games/flightgear/Makefile Wed Sep 17 06:10:22 2014 (r368355)
@@ -3,7 +3,7 @@
PORTNAME= flightgear
PORTVERSION= 3.0.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
# see http://www.flightgear.org/templates.js
MASTER_SITES= http://mirrors.ibiblio.org/flightgear/ftp/Source/ \
@@ -21,8 +21,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/grap
libpng15.so:${PORTSDIR}/graphics/png \
libboost_thread.so:${PORTSDIR}/devel/boost-libs \
libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
- libosg.so:${PORTSDIR}/graphics/osg \
- libdbus-1.so:${PORTSDIR}/devel/dbus
+ libosg.so:${PORTSDIR}/graphics/osg
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/lib/libSimGearCore.a:${PORTSDIR}/devel/simgear
RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
@@ -37,12 +36,17 @@ USES= tar:bzip2 dos2unix cmake compiler
DOS2UNIX_REGEX= .*\.(c|h|cxx|cpp|hxx|hpp)
CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON \
-DENABLE_JS_SERVER:BOOL=ON \
- -DUSE_DBUS:BOOL=ON \
-DSYSTEM_SQLITE:BOOL=ON \
-DFG_DATA_DIR:PATH=${LOCALBASE}/share/${PORTNAME} \
-DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man \
-DFGCOM_DATA_PATH:PATH=${DATADIR}
+OPTIONS_DEFINE= DBUS
+OPTIONS_DEFAULT= DBUS
+DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
+DBUS_CMAKE_ON= -DUSE_DBUS:BOOL=ON
+DBUS_CMAKE_OFF= -DUSE_DBUS:BOOL=OFF
+
.include <bsd.port.pre.mk>
.if ${COMPILER_FEATURES:Mlibc++}
More information about the svn-ports-head
mailing list