summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.