network/unbound: Fix build on current.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Badchay 2024-04-02 09:44:44 +07:00 committed by Willy Sudiarto Raharjo
parent bd682fc54e
commit 919cb3b76d
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 8 additions and 6 deletions

View File

@ -9,8 +9,8 @@
; on server FTP.INTERNIC.NET
; -OR- RS.INTERNIC.NET
;
; last update: March 11, 2024
; related version of root zone: 2024031103
; last update: March 25, 2024
; related version of root zone: 2024032501
;
; FORMERLY NS.INTERNIC.NET
;

View File

@ -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