summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Dugan Chen2015-01-18 02:34:39 +0100
committer Willy Sudiarto Raharjo2015-01-18 02:34:39 +0100
commit5dd4cfe8c9ce1af31e10c46137d2cf3b1d68c251 (patch)
tree50597747904975d230b65ddb75b2b3acac0ae437
parent3df6da56fe36201dcc9b1a5d2b96460693a6cf78 (diff)
downloadslackbuilds-5dd4cfe8c9ce1af31e10c46137d2cf3b1d68c251.tar.gz
development/SDL2_mixer: Disable modplug support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/SDL2_mixer/SDL2_mixer.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/development/SDL2_mixer/SDL2_mixer.SlackBuild b/development/SDL2_mixer/SDL2_mixer.SlackBuild
index 1fa1b3e272..c45ab43543 100644
--- a/development/SDL2_mixer/SDL2_mixer.SlackBuild
+++ b/development/SDL2_mixer/SDL2_mixer.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for SDL2_mixer
-# Copyright 2013 Dugan Chen Canada
+# Copyright 2013-2015 Dugan Chen Canada
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=SDL2_mixer
VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -78,6 +78,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-music-mod-modplug=no \
--build=$ARCH-slackware-linux
make