diff options
author | itojun <itojun@pkgsrc.org> | 2000-12-15 19:25:50 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 2000-12-15 19:25:50 +0000 |
commit | 53262f929d03abb97b9cd34443716bcb5bbb648a (patch) | |
tree | 1a59ca4f01ab1f2fd08b400dbe341822fd450561 /net/bind9-current/Makefile | |
parent | 3e0f26f8ab0a86bd31eff99a9ebdaeeb6b162774 (diff) | |
download | pkgsrc-53262f929d03abb97b9cd34443716bcb5bbb648a.tar.gz |
tried a pthread-less build, failed
Diffstat (limited to 'net/bind9-current/Makefile')
-rw-r--r-- | net/bind9-current/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/net/bind9-current/Makefile b/net/bind9-current/Makefile index affd27cda30..7b7fcaf6841 100644 --- a/net/bind9-current/Makefile +++ b/net/bind9-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/12/15 18:41:50 itojun Exp $ +# $NetBSD: Makefile,v 1.2 2000/12/15 19:25:50 itojun Exp $ # DISTNAME= bind-${BIND_VERSION} @@ -8,12 +8,19 @@ MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/ MAINTAINER= hubertf@NetBSD.org HOMEPAGE= http://www.isc.org/products/BIND/ -DEPENDS+= unproven-pthreads>=0.17:../../devel/unproven-pthreads - # IPv6 ready, automatically detected .include "../../mk/bsd.prefs.mk" BUILD_DEFS+= USE_INET6 +# we cannot disable pthreads at this moment, it looks to be a a bug in +# BIND9 configure.in +.if 1 # defined(USE_UNPROVEN_PTHREADS) && ${USE_UNPROVEN_PTHREADS} == "YES" +DEPENDS+= unproven-pthreads>=0.17:../../devel/unproven-pthreads +CONFIGURE_ARGS+=--enable-threads +.else +CONFIGURE_ARGS+=--disable-threads +.endif + # Sync these with devel/unproven-pthreads: ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-arm32 NetBSD-*-m68k @@ -21,8 +28,7 @@ ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-arm32 NetBSD-*-m68k BIND_VERSION= 9.1.0b1 DIST_SUBDIR= bind/${BIND_VERSION} GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-mit-pthreads \ - --with-libtool=yes \ +CONFIGURE_ARGS+=--with-libtool=yes \ --sysconfdir=/etc \ --localstatedir=/var LDFLAGS+= -Wl,-R${LOCALBASE}/pthreads/lib -L${LOCALBASE}/pthreads/lib |