aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2017-01-25 09:28:36 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:31 +0700
commit6ec458ef6c31c5a63e27392c9dd00ed447b011fc (patch)
treee1724d9a8616545cc1f02813a05529407bdf718e /misc
parent61180d814dccc7099420abbaf50628983e8332de (diff)
misc/subsurface: fix build against Qt 5.7.1
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'misc')
-rw-r--r--misc/subsurface/subsurface.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/subsurface/subsurface.SlackBuild b/misc/subsurface/subsurface.SlackBuild
index 0d7077904ee7..dd977009f1a7 100644
--- a/misc/subsurface/subsurface.SlackBuild
+++ b/misc/subsurface/subsurface.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=subsurface
SRCNAM=Subsurface
VERSION=${VERSION:-4.6.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -107,7 +107,7 @@ cd marble-$PRGNAM-branch-$VERSION/build
cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH="/usr" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
-DQT5BUILD:BOOL=ON \
-DQTONLY:BOOL=TRUE \
-DBUILD_MARBLE_APPS:BOOL=OFF \
@@ -146,7 +146,7 @@ cd build
-DFTDISUPPORT:BOOL="$FTDISUPPORT" \
-DUSE_WEBENGINE:BOOL="$QWEBSUPPORT" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DMARBLE_LIBRARIES="$PKG/usr/lib${LIBDIRSUFFIX}/libssrfmarblewidget.so" \
-DMARBLE_INCLUDE_DIR="$PKG/usr/include" \
-DLIBDIVECOMPUTER_INCLUDE_DIR="../usr/include" \