summaryrefslogtreecommitdiff
path: root/net/bind9
diff options
context:
space:
mode:
authorjlam <jlam>2004-09-23 04:33:21 +0000
committerjlam <jlam>2004-09-23 04:33:21 +0000
commit97a9d370519e9401562756ba65d4cedf6f4d5562 (patch)
treeac14c515756647dce17bd0015669a92dd2557422 /net/bind9
parent19af67ac44fe3cbd2c4577e599f2d4d243016073 (diff)
downloadpkgsrc-97a9d370519e9401562756ba65d4cedf6f4d5562.tar.gz
Favor using BUILDLINK_INCDIRS.<pkg> instead of BUILDLINK_CPPFLAGS.<pkg>
to add directories to the header search path. Also, use BUILDLINK_LDADD.<pkg>, which currently doesn't do anything yet, but will some time soon.
Diffstat (limited to 'net/bind9')
-rw-r--r--net/bind9/buildlink3.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/bind9/buildlink3.mk b/net/bind9/buildlink3.mk
index 6cbf0f1b237..131b96e3651 100644
--- a/net/bind9/buildlink3.mk
+++ b/net/bind9/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2004/09/22 20:48:44 tron Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2004/09/23 04:33:21 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BIND_BUILDLINK3_MK:= ${BIND_BUILDLINK3_MK}+
@@ -15,8 +15,9 @@ 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"
+BUILDLINK_INCDIRS.bind?= include/bind
+BUILDLINK_LDADD.bind?= -lbind
+BUILDLINK_LDFLAGS.bind?= ${BUILDLINK_LDADD.bind}
.endif # BIND_BUILDLINK3_MK
.include "../../security/openssl/buildlink3.mk"