pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bind9 Favor using BUILDLINK_INCDIRS.<pkg> instead ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42a6c749cfe2
branches:  trunk
changeset: 480977:42a6c749cfe2
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Sep 23 04:33:21 2004 +0000

description:
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:

 net/bind9/buildlink3.mk |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 378e90c32564 -r 42a6c749cfe2 net/bind9/buildlink3.mk
--- a/net/bind9/buildlink3.mk   Thu Sep 23 04:29:39 2004 +0000
+++ b/net/bind9/buildlink3.mk   Thu Sep 23 04:33:21 2004 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index