diff options
Diffstat (limited to '')
-rwxr-xr-x | source/l/libsndfile/libsndfile.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/source/l/libsndfile/libsndfile.SlackBuild b/source/l/libsndfile/libsndfile.SlackBuild index 7ae6d78b0..4fb15c3fa 100755 --- a/source/l/libsndfile/libsndfile.SlackBuild +++ b/source/l/libsndfile/libsndfile.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2010 paul wisehart, Hyattsville, MD, USA # Copyright 2010 Robby Workman, Northport, Alabama, USA -# Copyright 2011, 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2011, 2018, 2020, 2021, 2022 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libsndfile VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -75,6 +75,13 @@ cd $PKGNAM-$VERSION || exit 1 chown -R root:root . chmod -R a-s,u+w,go+r-w . +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |