diff options
Diffstat (limited to 'source/n/bind/bind.SlackBuild')
-rwxr-xr-x | source/n/bind/bind.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/n/bind/bind.SlackBuild b/source/n/bind/bind.SlackBuild index afcde9e1b..73b7d2ff2 100755 --- a/source/n/bind/bind.SlackBuild +++ b/source/n/bind/bind.SlackBuild @@ -22,11 +22,19 @@ PKGNAM=bind -VERSION=${VERSION:-9.4.3-P3} -ARCH=${ARCH:-x86_64} +VERSION=${VERSION:-9.4.3-P4} NUMJOBS=${NUMJOBS:-" -j7 "} BUILD=${BUILD:-1} +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi CWD=$(pwd) TMP=/bind-$(mcookie) |