summaryrefslogtreecommitdiff
path: root/source/l/ocl-icd/ocl-icd.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-10-08 22:53:32 +0000
committerEric Hameleers <alien@slackware.com>2020-10-09 08:59:54 +0200
commit20ed243b56ade59a2033588a28335148e4b44169 (patch)
tree5610a97da6db73f43df1c05f250cc177b52933bd /source/l/ocl-icd/ocl-icd.SlackBuild
parentd9d3692e2b144d38d5cff9979b33442d90de51e3 (diff)
downloadcurrent-20ed243b56ade59a2033588a28335148e4b44169.tar.gz
Thu Oct 8 22:53:32 UTC 202020201008225332
ap/cups-filters-1.28.4-x86_64-1.txz: Upgraded. d/rust-1.47.0-x86_64-1.txz: Upgraded. l/ocl-icd-2.2.13-x86_64-1.txz: Upgraded. n/libqmi-1.26.6-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/ocl-icd/ocl-icd.SlackBuild')
-rwxr-xr-xsource/l/ocl-icd/ocl-icd.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/l/ocl-icd/ocl-icd.SlackBuild b/source/l/ocl-icd/ocl-icd.SlackBuild
index bb381f4f..b9476b6e 100755
--- a/source/l/ocl-icd/ocl-icd.SlackBuild
+++ b/source/l/ocl-icd/ocl-icd.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ocl-icd
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -84,6 +84,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
./configure \