summaryrefslogtreecommitdiff
path: root/libraries/skalibs/skalibs.SlackBuild
diff options
context:
space:
mode:
authorMuhammad Mahendra Subrata <mumahendras3@gmail.com>2020-04-10 00:53:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-10 00:53:48 +0700
commit89e42ea19bca2b72f5801afc60a131b9d3aa140f (patch)
tree3b885f190a81c48e3b5ca501357626a6b0aa725a /libraries/skalibs/skalibs.SlackBuild
parent376b6e8b8271864a4412c73f7ddaa7a5baeaaea2 (diff)
downloadslackbuilds-89e42ea19bca2b72f5801afc60a131b9d3aa140f.tar.gz
libraries/skalibs: Updated for version 2.9.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/skalibs/skalibs.SlackBuild')
-rw-r--r--libraries/skalibs/skalibs.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/libraries/skalibs/skalibs.SlackBuild b/libraries/skalibs/skalibs.SlackBuild
index 125d6212fc..93a7e794ea 100644
--- a/libraries/skalibs/skalibs.SlackBuild
+++ b/libraries/skalibs/skalibs.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=skalibs
-VERSION=${VERSION:-2.9.2.0}
+VERSION=${VERSION:-2.9.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,12 @@ if [ "$BUILD_SHARED" = "no" ]; then
LIBS_CONF="--disable-shared $LIBS_CONF"
fi
+# skalibs has a default executable search path that will be used by skarnet.org softwares
+# if the PATH environment variable is undefined. The upstream default is /usr/bin:/bin but
+# we will use /usr/bin:/usr/sbin:/bin:/sbin here instead. You can pass DEF_PATH=some:path:list
+# to this script if you want to change it to something else.
+DEF_PATH=${DEF_PATH:-/usr/bin:/usr/sbin:/bin:/sbin}
+
set -e
rm -rf $PKG
@@ -92,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
--includedir=/usr/include \
--sysdepdir=/usr/lib${LIBDIRSUFFIX}/skalibs/sysdeps \
--datadir=/etc \
+ --with-default-path=${DEF_PATH} \
$LIBS_CONF
make