From 38a69179546d314cac3427a01aae69281b29a519 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Mon, 25 Jun 2018 19:55:27 +0100 Subject: libraries/CoinMP: Fixed building in sandbox. Signed-off-by: David Spencer --- libraries/CoinMP/CoinMP.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libraries/CoinMP/CoinMP.SlackBuild') 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" \ -- cgit v1.2.3