summaryrefslogtreecommitdiff
path: root/libraries/SimGear/SimGear.SlackBuild
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2020-11-14 05:06:01 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-14 17:16:41 +0700
commit4c3f59a471d4282ab528374893e638e35a1bd04b (patch)
treec6b994ea7fe1c51a8a9e1e9414157adadc8c5a24 /libraries/SimGear/SimGear.SlackBuild
parent88d3ff0d156b125e544b84c08900473ce70f20db (diff)
downloadslackbuilds-4c3f59a471d4282ab528374893e638e35a1bd04b.tar.gz
libraries/SimGear: Updated for version 2020.3.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/SimGear/SimGear.SlackBuild')
-rw-r--r--libraries/SimGear/SimGear.SlackBuild16
1 files changed, 3 insertions, 13 deletions
diff --git a/libraries/SimGear/SimGear.SlackBuild b/libraries/SimGear/SimGear.SlackBuild
index 23d302a34d..9e1ebd7a21 100644
--- a/libraries/SimGear/SimGear.SlackBuild
+++ b/libraries/SimGear/SimGear.SlackBuild
@@ -3,6 +3,7 @@
# Copyright before version 2016.3.1 by Diego Pantano <poplin.dp@gmail.com>
# Copyright 2016-2018 Panagiotis Nikolaou, Culver City, CA
+# Copyright 2020 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@
PRGNAM=SimGear
SRCNAM=simgear
-VERSION=${VERSION:-2020.1.2}
+VERSION=${VERSION:-2020.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,22 +71,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Option to build on -current
-if [ "${CURRENT:-no}" = "yes" ]; then
- BOOSTOPT="-DBoost_NO_BOOST_CMAKE=ON"
- # patch for the new boost:
- patch -p1 < $CWD/simgear-enable-if.patch
- # Thanks Gentoo for this one
- patch -p1 < $CWD/SimGear-version.patch
-else
- BOOSTOPT=""
-fi
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSIMGEAR_SHARED=ON \
-DSYSTEM_EXPAT=ON \