summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortoshii <toshii@pkgsrc.org>2000-11-13 16:12:49 +0000
committertoshii <toshii@pkgsrc.org>2000-11-13 16:12:49 +0000
commitb7903d8dcc46e8c96fc4bb7ab7c971ec00872092 (patch)
tree9a801e1fb713615ece1ba50452e9b8e245054885 /net
parent883d7bc50b8ecb55b14b377906ec7e34bc37a16f (diff)
downloadpkgsrc-b7903d8dcc46e8c96fc4bb7ab7c971ec00872092.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')
-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