summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-03-15 13:59:35 +0000
committernia <nia@pkgsrc.org>2019-03-15 13:59:35 +0000
commit88a8b97d0f4ff06ae718e76b584497fc97410255 (patch)
tree303cba0c1570dd2789752f30b08c8a05158b6cb7
parenta7eabce871c4a29608067265fb49aac587123e91 (diff)
downloadpkgsrc-88a8b97d0f4ff06ae718e76b584497fc97410255.tar.gz
flightgear: Use the 'release' build type. Seems to improve loading times.
-rw-r--r--games/flightgear/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile
index cde692a76be..601f6c29686 100644
--- a/games/flightgear/Makefile
+++ b/games/flightgear/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2019/03/14 18:13:18 nia Exp $
+# $NetBSD: Makefile,v 1.84 2019/03/15 13:59:35 nia Exp $
DISTNAME= flightgear-2018.3.2
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flightgear/release-2018.3/}
EXTRACT_SUFX= .tar.bz2
@@ -19,6 +20,9 @@ CONFIGURE_DIRS= fgbuild
BUILD_DIRS= fgbuild
CMAKE_ARG_PATH= ..
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+= -DFG_BUILD_TYPE=Release
+
BUILDLINK_TRANSFORM+= l:glut:freeglut
# The cmake script warns against building in the source directory.