summaryrefslogtreecommitdiffstats
path: root/network/unbound/unbound.SlackBuild
diff options
context:
space:
mode:
author Badchay <badchay@protonmail.com>2024-04-02 09:44:44 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-02 11:36:20 +0700
commit919cb3b76dc50984927e18fd88c7b6b8001498a8 (patch)
tree67efadced19b285ae06f579a782faf29f6cdd3ac /network/unbound/unbound.SlackBuild
parentbd682fc54ece92996848c22486cec278cea322ec (diff)
downloadslackbuilds-919cb3b76dc50984927e18fd88c7b6b8001498a8.tar.gz
slackbuilds-919cb3b76dc50984927e18fd88c7b6b8001498a8.tar.xz
network/unbound: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--network/unbound/unbound.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/network/unbound/unbound.SlackBuild b/network/unbound/unbound.SlackBuild
index 3665ccc939..9a2dc3ce59 100644
--- a/network/unbound/unbound.SlackBuild
+++ b/network/unbound/unbound.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unbound
VERSION=${VERSION:-1.19.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,9 +83,11 @@ if ! grep -q ^"$UB_USER": /etc/passwd ; then
exit 1
fi
-# This needs to be set. Otherwise Unbound
-# will build against Python 2.
-UNB_PY_VERSION=${UNB_PY_VERSION:-3.9}
+# This needs to be set. Otherwise Unbound will build
+# against Python 2 on Slackware 15.0.
+# Setting this to "3" allows Unbound to build with
+# Python 3.9 and 3.11, depending which one is installed.
+UNB_PY_VERSION=${UNB_PY_VERSION:-3}
set -e