summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-09-23 04:33:21 +0000
committerjlam <jlam@pkgsrc.org>2004-09-23 04:33:21 +0000
commit1e5fc82097764285d69a975b7247cc2bd271067f (patch)
treeac14c515756647dce17bd0015669a92dd2557422
parent6b08e4db7c42bb8dcfd73639cb76d766e7b1f32f (diff)
downloadpkgsrc-1e5fc82097764285d69a975b7247cc2bd271067f.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.
-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"