diff options
author | toshii <toshii> | 2000-11-13 16:12:49 +0000 |
---|---|---|
committer | toshii <toshii> | 2000-11-13 16:12:49 +0000 |
commit | 2ced26c0f3fb29c5597b02246268ec2c73dd9a2d (patch) | |
tree | 9a801e1fb713615ece1ba50452e9b8e245054885 /net | |
parent | 995a11d3b3ee4b490cf1962faab42b16a8d1a94e (diff) | |
download | pkgsrc-2ced26c0f3fb29c5597b02246268ec2c73dd9a2d.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/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 |