summaryrefslogtreecommitdiff
path: root/net/bind9/builtin.mk
diff options
context:
space:
mode:
authortron <tron>2004-09-30 15:07:46 +0000
committertron <tron>2004-09-30 15:07:46 +0000
commit48086c0365297de87684c0e5356543a24062db19 (patch)
treebf27bd040cb94314746833f0d2226acb48dde8b3 /net/bind9/builtin.mk
parent907902aed444f8767b39eb941d10337b7594cf4d (diff)
downloadpkgsrc-48086c0365297de87684c0e5356543a24062db19.tar.gz
Only set "BUILDLINK_LDADD.bind" if we are really using the "bind9" or
"bind9-current" package.
Diffstat (limited to 'net/bind9/builtin.mk')
-rw-r--r--net/bind9/builtin.mk6
1 files changed, 5 insertions, 1 deletions
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