diff options
author | tron <tron@pkgsrc.org> | 2004-09-30 15:07:46 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-09-30 15:07:46 +0000 |
commit | ff759bb6ce13bb2ba17129efbd2f5b416895870a (patch) | |
tree | bf27bd040cb94314746833f0d2226acb48dde8b3 /net/bind9 | |
parent | 1cb45eff999ce990148ccee771cc8c0ca1910587 (diff) | |
download | pkgsrc-ff759bb6ce13bb2ba17129efbd2f5b416895870a.tar.gz |
Only set "BUILDLINK_LDADD.bind" if we are really using the "bind9" or
"bind9-current" package.
Diffstat (limited to 'net/bind9')
-rw-r--r-- | net/bind9/buildlink3.mk | 3 | ||||
-rw-r--r-- | net/bind9/builtin.mk | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/net/bind9/buildlink3.mk b/net/bind9/buildlink3.mk index 131b96e3651..e1aaeeac839 100644 --- a/net/bind9/buildlink3.mk +++ b/net/bind9/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.5 2004/09/23 04:33:21 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.6 2004/09/30 15:07:46 tron Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ BIND_BUILDLINK3_MK:= ${BIND_BUILDLINK3_MK}+ @@ -16,7 +16,6 @@ BUILDLINK_RECOMMENDED.bind?= bind>=9.2.3nb4 BUILDLINK_PKGSRCDIR.bind?= ../../net/bind9 BUILDLINK_INCDIRS.bind?= include/bind -BUILDLINK_LDADD.bind?= -lbind BUILDLINK_LDFLAGS.bind?= ${BUILDLINK_LDADD.bind} .endif # BIND_BUILDLINK3_MK diff --git a/net/bind9/builtin.mk b/net/bind9/builtin.mk index 6c0128f34c5..94c76c2e585 100644 --- a/net/bind9/builtin.mk +++ b/net/bind9/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.5 2004/07/19 04:08:13 markd Exp $ +# $NetBSD: builtin.mk,v 1.6 2004/09/30 15:07:46 tron Exp $ .if !defined(IS_BUILTIN.bind) IS_BUILTIN.bind= no @@ -28,3 +28,7 @@ USE_BUILTIN.bind!= \ . endfor . endif .endif # USE_BUILTIN.bind + +.if !empty(USE_BUILTIN.bind:M[nN][oO]) +BUILDLINK_LDADD.bind?= -lbind +.endif |