diff options
author | toshii <toshii@pkgsrc.org> | 2000-11-13 16:12:49 +0000 |
---|---|---|
committer | toshii <toshii@pkgsrc.org> | 2000-11-13 16:12:49 +0000 |
commit | b7903d8dcc46e8c96fc4bb7ab7c971ec00872092 (patch) | |
tree | 9a801e1fb713615ece1ba50452e9b8e245054885 /net/bind9/Makefile | |
parent | 883d7bc50b8ecb55b14b377906ec7e34bc37a16f (diff) | |
download | pkgsrc-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/bind9/Makefile')
-rw-r--r-- | net/bind9/Makefile | 5 |
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 |