summaryrefslogtreecommitdiff
path: root/net/bind9
diff options
context:
space:
mode:
authortoshii <toshii>2000-11-13 16:12:49 +0000
committertoshii <toshii>2000-11-13 16:12:49 +0000
commit018301616e9ffcddc6c49c21741c02a33497a974 (patch)
tree9a801e1fb713615ece1ba50452e9b8e245054885 /net/bind9
parent24953e2ca46d069c15efc0fc70660350f3558c2d (diff)
downloadpkgsrc-018301616e9ffcddc6c49c21741c02a33497a974.tar.gz
Setting CC in CONFIGURE_ENV doesn't work as it will be overwritten
by the configure. Instead, set LDFLAGS so that unproven-pthreads can be found before pth. Fixes pr #11418.
Diffstat (limited to 'net/bind9')
-rw-r--r--net/bind9/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/bind9/Makefile b/net/bind9/Makefile
index e673ed9806d..b9da1d6f0bc 100644
--- a/net/bind9/Makefile
+++ b/net/bind9/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2000/11/13 04:43:23 itojun Exp $
+# $NetBSD: Makefile,v 1.15 2000/11/13 16:12:49 toshii Exp $
#
DISTNAME= bind-${BIND_VERSION}
@@ -25,8 +25,7 @@ CONFIGURE_ARGS+=--with-mit-pthreads \
--with-libtool=yes \
--sysconfdir=/etc \
--localstatedir=/var
-CONFIGURE_ENV+= CC=${LOCALBASE}/pthreads/bin/pgcc \
- CXX=${LOCALBASE}/pthreads/bin/pg++
+LDFLAGS+= -Wl,-R${LOCALBASE}/pthreads/lib -L${LOCALBASE}/pthreads/lib
post-install:
${MKDIR} ${PREFIX}/share/doc/bind9