summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjklos <jklos@pkgsrc.org>2009-08-15 01:30:57 +0000
committerjklos <jklos@pkgsrc.org>2009-08-15 01:30:57 +0000
commitbfb9f417bb7725663be127f6e7c980f2a16ffc4f (patch)
tree5c3a4578a10a1fd5140e71c9660e22c58df1a384
parent73b14ad31dc85e7db6239846131cd1aeaf251ebc (diff)
downloadpkgsrc-bfb9f417bb7725663be127f6e7c980f2a16ffc4f.tar.gz
Assembly language atomic operations don't work on NetBSD mipsel, so
disable them with CONFIGURE_ARGS.
-rw-r--r--net/bind96/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/bind96/Makefile b/net/bind96/Makefile
index df676345921..7f2ad3628e1 100644
--- a/net/bind96/Makefile
+++ b/net/bind96/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2009/07/29 00:16:33 reed Exp $
+# $NetBSD: Makefile,v 1.8 2009/08/15 01:30:57 jklos Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= ${DISTNAME:S/-P1/pl1/}
@@ -34,6 +34,9 @@ CONFIGURE_ARGS+= --sysconfdir=/etc
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --disable-openssl-version-check
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
+.if ${MACHINE_PLATFORM:MNetBSD-*-mipsel} != ""
+CONFIGURE_ARGS+= --disable-atomic
+.endif
PKG_GROUPS_VARS+= BIND_GROUP
PKG_USERS_VARS+= BIND_USER