Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2016 11:20:24 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r427297 - branches/2016Q4/games/flightgear
Message-ID:  <201611281120.uASBKO8r031008@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Mon Nov 28 11:20:23 2016
New Revision: 427297
URL: https://svnweb.freebsd.org/changeset/ports/427297

Log:
  MFH: r427116
  
  Make QT5 optional
  
  PR:		214748
  Submitted by:	Michael Danilov <mike.d.ft402@gmail.com>
  
  Approved by:	ports-secteam

Modified:
  branches/2016Q4/games/flightgear/Makefile
Directory Properties:
  branches/2016Q4/   (props changed)

Modified: branches/2016Q4/games/flightgear/Makefile
==============================================================================
--- branches/2016Q4/games/flightgear/Makefile	Mon Nov 28 11:18:53 2016	(r427296)
+++ branches/2016Q4/games/flightgear/Makefile	Mon Nov 28 11:20:23 2016	(r427297)
@@ -3,6 +3,7 @@
 
 PORTNAME=	flightgear
 PORTVERSION=	2016.3.1
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/flightgear/release-${PORTVERSION:R}
 
@@ -26,7 +27,6 @@ RUN_DEPENDS=	${LOCALBASE}/lib/libplibsl.
 
 USE_XORG=	ice sm x11 xext xft xi xinerama xmu xt
 USE_GL=		gl glu glut
-USE_QT5=	core buildtools gui qmake widgets
 
 USES=		alias cmake compiler cpe dos2unix jpeg openal:al,alut sqlite \
 		tar:bzip2
@@ -38,12 +38,15 @@ CMAKE_ARGS+=	-DENABLE_JS_SERVER:BOOL=ON 
 		-DFGCOM_DATA_PATH:PATH=${DATADIR}
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	DBUS
-OPTIONS_DEFAULT=	DBUS
+OPTIONS_DEFINE=	DBUS QT5
+OPTIONS_DEFAULT=	DBUS QT5
 DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
 DBUS_USES=	pkgconfig
 DBUS_CMAKE_ON=	-DUSE_DBUS:BOOL=ON
 DBUS_CMAKE_OFF=	-DUSE_DBUS:BOOL=OFF
+QT5_CMAKE_ON=	-DENABLE_QT:BOOL=ON
+QT5_CMAKE_OFF=	-DENABLE_QT:BOOL=OFF
+QT5_USE=	QT5=core,buildtools,gui,qmake,widgets
 
 .include <bsd.port.pre.mk>
 



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