summaryrefslogtreecommitdiff
path: root/libraries/CoinMP/CoinMP.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-06-25 19:55:27 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-25 20:07:03 +0100
commit38a69179546d314cac3427a01aae69281b29a519 (patch)
tree353f0b612e21b63e3281378a5525114c0fa13569 /libraries/CoinMP/CoinMP.SlackBuild
parent252cd359784c4b635900876f40f1dd8350df4de1 (diff)
downloadslackbuilds-38a69179546d314cac3427a01aae69281b29a519.tar.gz
libraries/CoinMP: Fixed building in sandbox.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/CoinMP/CoinMP.SlackBuild')
-rw-r--r--libraries/CoinMP/CoinMP.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/CoinMP/CoinMP.SlackBuild b/libraries/CoinMP/CoinMP.SlackBuild
index 45774667f7..4d6d5f3e7e 100644
--- a/libraries/CoinMP/CoinMP.SlackBuild
+++ b/libraries/CoinMP/CoinMP.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CoinMP
-# Copyright 2015, 2017 Hunter Sezen California, USA
+# Copyright 2015, 2017-2018 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=CoinMP
VERSION=${VERSION:-1.8.3}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,8 +69,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 {} \;
-# Fix the $DESTDIR
-zcat $CWD/destdir.diff.gz | patch -p1
+# Fix autoreconf and $DESTDIR
+patch -p1 < $CWD/$PRGNAM-build.diff
+patch -p1 < $CWD/destdir.diff
+
+autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \