network/unbound: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bd682fc54e
commit
919cb3b76d
|
@ -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
|
||||
;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue