summaryrefslogtreecommitdiffstats
path: root/lib/bind/config.mk
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-01-09 23:47:11 +0000
committerdougb <dougb@FreeBSD.org>2011-01-09 23:47:11 +0000
commit97a7ccf9c1a69c94aae9e28ae86f30133bdc7be3 (patch)
tree34120bfde9a76ea79cffb9ea4d78c6a093ffb868 /lib/bind/config.mk
parentef1dcae0cf597aead004a2c541cb9e38096c6643 (diff)
downloadFreeBSD-src-97a7ccf9c1a69c94aae9e28ae86f30133bdc7be3.zip
FreeBSD-src-97a7ccf9c1a69c94aae9e28ae86f30133bdc7be3.tar.gz
Revert part of r217071 so that us mere mortals can clearly see
what this bit of code is intended to do. :) Approved by: imp
Diffstat (limited to 'lib/bind/config.mk')
-rw-r--r--lib/bind/config.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bind/config.mk b/lib/bind/config.mk
index 0fb5f3e..184d017 100644
--- a/lib/bind/config.mk
+++ b/lib/bind/config.mk
@@ -65,7 +65,11 @@ CFLAGS+= -I${LIB_BIND_DIR}
.endif
# Use the right version of the atomic.h file from lib/isc
-ISC_ATOMIC_ARCH=${MACHINE_CPUARCH:S/i386/x86_32/:S/amd64/x86_32/}
+.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
+ISC_ATOMIC_ARCH= x86_32
+.else
+ISC_ATOMIC_ARCH= ${MACHINE_CPUARCH}
+.endif
# Optional features
.if ${MK_BIND_LARGE_FILE} == "yes"
OpenPOWER on IntegriCloud