summaryrefslogtreecommitdiff
path: root/libraries/CoinMP/CoinMP.SlackBuild
diff options
context:
space:
mode:
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" \