aboutsummaryrefslogtreecommitdiff
path: root/games/vegastrike/vegastrike.SlackBuild
diff options
context:
space:
mode:
authorCRTS <crts [at] gmx [dot] net>2021-01-24 19:34:40 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-18 00:04:03 -0500
commita569ecc1f95142fae653b2c75079d87a9c1f32b3 (patch)
tree14858a60c74981df276749edd313ea1f4e05b941 /games/vegastrike/vegastrike.SlackBuild
parentad1208115f0dc3c27bfaec00de1f3db7dd7550b2 (diff)
games/vegastrike: Adjustments for -current.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/vegastrike/vegastrike.SlackBuild')
-rw-r--r--games/vegastrike/vegastrike.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/vegastrike/vegastrike.SlackBuild b/games/vegastrike/vegastrike.SlackBuild
index 77f7eebd21788..4842fca4e99d0 100644
--- a/games/vegastrike/vegastrike.SlackBuild
+++ b/games/vegastrike/vegastrike.SlackBuild
@@ -84,6 +84,8 @@ tar xvf $CWD/$PRGSRCNAME$PRGSRCSUF
cd $PRGSRCNAME
+cp "$CWD/cmake"/*.cmake .
+
declare patchdir="$CWD/patches"
patch -p0 < "$patchdir/patch-${VERSION}_$BUILD"
@@ -113,6 +115,8 @@ cmake \
-DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_SYSTEM_PROCESSOR=$ARCH \
-DDISABLE_SERVER=${DISABLE_SERVER:-ON} \
+ -DUSE_SYSTEM_BOOST=${USE_SYSTEM_BOOST:-ON} \
+ -DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD:-11} \
..
make