aboutsummaryrefslogtreecommitdiff
path: root/libraries/SimGear/SimGear.SlackBuild
diff options
context:
space:
mode:
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 23d302a34db7..9e1ebd7a2165 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 \