summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-02 11:41:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-05 08:52:23 +0700
commit2e1d9c55a4a71b65da43642019e1761c50e3306e (patch)
treea5c817b360a16fec9daeb1c592b13bf8ec73b1af
parent842b60c63e3cb56a26ae3fbdb129c9b5aaf4dc2a (diff)
downloadslackbuilds-2e1d9c55a4a71b65da43642019e1761c50e3306e.tar.gz
libraries/libmusicbrainz3: Support cppunit 1.14.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild b/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild
index 64674e6186..98263f0ebf 100644
--- a/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild
+++ b/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild
@@ -6,14 +6,14 @@
PRGNAM=libmusicbrainz3
VERSION=${VERSION:-3.0.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=libmusicbrainz
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -24,8 +24,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -58,7 +58,7 @@ cd build
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release ..