From 919cb3b76dc50984927e18fd88c7b6b8001498a8 Mon Sep 17 00:00:00 2001 From: Badchay Date: Tue, 2 Apr 2024 09:44:44 +0700 Subject: network/unbound: Fix build on current. Signed-off-by: Willy Sudiarto Raharjo --- network/unbound/unbound.SlackBuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'network/unbound/unbound.SlackBuild') 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 -- cgit v1.2.3-65-gdbad