summaryrefslogtreecommitdiff
path: root/net/bind9/buildlink3.mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-09-22 20:48:44 +0000
committertron <tron@pkgsrc.org>2004-09-22 20:48:44 +0000
commit792a018c87d6ded275b9c2310f2e2bf03dc3bce9 (patch)
tree4a82bec3d0ff45f87c3305db8f5d64b6c80f59c7 /net/bind9/buildlink3.mk
parent6aef7e3fd19d3a22120b5ef3c4cc4a6ffe8b53ee (diff)
downloadpkgsrc-792a018c87d6ded275b9c2310f2e2bf03dc3bce9.tar.gz
Set "BUILDLINK_LDFLAGS.bind" to "-lbind" to make sure that programs or
libraries get linked with the BIND 9 resolver library.
Diffstat (limited to 'net/bind9/buildlink3.mk')
-rw-r--r--net/bind9/buildlink3.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bind9/buildlink3.mk b/net/bind9/buildlink3.mk
index f188552b867..6cbf0f1b237 100644
--- a/net/bind9/buildlink3.mk
+++ b/net/bind9/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2004/09/22 20:37:33 tron Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2004/09/22 20:48:44 tron Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BIND_BUILDLINK3_MK:= ${BIND_BUILDLINK3_MK}+
@@ -15,6 +15,7 @@ BUILDLINK_DEPENDS.bind+= bind>=9.2.2
BUILDLINK_RECOMMENDED.bind?= bind>=9.2.3nb4
BUILDLINK_PKGSRCDIR.bind?= ../../net/bind9
+BUILDLINK_LDFLAGS.bind= -lbind
BUILDLINK_TRANSFORM.bind= -e "s|include/bind/|include/|g"
.endif # BIND_BUILDLINK3_MK