pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/bind9 Only set "BUILDLINK_LDADD.bind" if we are re...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f84749908ec7
branches: trunk
changeset: 481286:f84749908ec7
user: tron <tron%pkgsrc.org@localhost>
date: Thu Sep 30 15:07:46 2004 +0000
description:
Only set "BUILDLINK_LDADD.bind" if we are really using the "bind9" or
"bind9-current" package.
diffstat:
net/bind9/buildlink3.mk | 3 +--
net/bind9/builtin.mk | 6 +++++-
2 files changed, 6 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 246cd4433d40 -r f84749908ec7 net/bind9/buildlink3.mk
--- a/net/bind9/buildlink3.mk Thu Sep 30 14:42:39 2004 +0000
+++ b/net/bind9/buildlink3.mk Thu Sep 30 15:07:46 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2004/09/23 04:33:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2004/09/30 15:07:46 tron Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BIND_BUILDLINK3_MK:= ${BIND_BUILDLINK3_MK}+
@@ -16,7 +16,6 @@
BUILDLINK_PKGSRCDIR.bind?= ../../net/bind9
BUILDLINK_INCDIRS.bind?= include/bind
-BUILDLINK_LDADD.bind?= -lbind
BUILDLINK_LDFLAGS.bind?= ${BUILDLINK_LDADD.bind}
.endif # BIND_BUILDLINK3_MK
diff -r 246cd4433d40 -r f84749908ec7 net/bind9/builtin.mk
--- a/net/bind9/builtin.mk Thu Sep 30 14:42:39 2004 +0000
+++ b/net/bind9/builtin.mk Thu Sep 30 15:07:46 2004 +0000
@@ -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 @@
. endfor
. endif
.endif # USE_BUILTIN.bind
+
+.if !empty(USE_BUILTIN.bind:M[nN][oO])
+BUILDLINK_LDADD.bind?= -lbind
+.endif
Home |
Main Index |
Thread Index |
Old Index