summaryrefslogtreecommitdiff
path: root/development/swi-prolog/swi-prolog.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/swi-prolog/swi-prolog.SlackBuild')
-rw-r--r--development/swi-prolog/swi-prolog.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/development/swi-prolog/swi-prolog.SlackBuild b/development/swi-prolog/swi-prolog.SlackBuild
index 72dbc2445b..7e45edb51c 100644
--- a/development/swi-prolog/swi-prolog.SlackBuild
+++ b/development/swi-prolog/swi-prolog.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for swi-prolog
-# Copyright 2020 Nick Smallbone <nick@smallbone.se>, Gothenburg, Sweden
+# Copyright 2022 Nick Smallbone <nick@smallbone.se>, Gothenburg, Sweden
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=swi-prolog
-VERSION=${VERSION:-8.2.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-8.4.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,8 +81,6 @@ 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 {} \;
-# Compatibility with 14.2's version of CMake
-sed -i 's/NATIVE_COMMAND/UNIX_COMMAND/g' packages/odbc/cmake/FindODBC.cmake
# Respect $LIBDIRSUFFIX
sed -i "s!lib/\${SWIPL_INSTALL_DIR}!lib${LIBDIRSUFFIX}/\${SWIPL_INSTALL_DIR}!" CMakeLists.txt
sed -i "s!lib/cmake/swipl!lib${LIBDIRSUFFIX}/cmake/swipl!" CMakeLists.txt
@@ -106,7 +104,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE INSTALL VERSION customize \
+ LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION
ln -s ../../lib${LIBDIRSUFFIX}/$SRCNAM/doc/Manual $PKG/usr/doc/$PRGNAM-$VERSION/manual
ln -s ../../lib${LIBDIRSUFFIX}/$SRCNAM/doc/packages $PKG/usr/doc/$PRGNAM-$VERSION