pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/bind9 Do package version handling properly.
details: https://anonhg.NetBSD.org/pkgsrc/rev/40c72ca93eab
branches: trunk
changeset: 478179:40c72ca93eab
user: markd <markd%pkgsrc.org@localhost>
date: Mon Jul 19 04:08:13 2004 +0000
description:
Do package version handling properly.
diffstat:
net/bind9/builtin.mk | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 5b36d15634cc -r 40c72ca93eab net/bind9/builtin.mk
--- a/net/bind9/builtin.mk Mon Jul 19 04:07:16 2004 +0000
+++ b/net/bind9/builtin.mk Mon Jul 19 04:08:13 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.4 2004/07/19 04:07:16 markd Exp $
+# $NetBSD: builtin.mk,v 1.5 2004/07/19 04:08:13 markd Exp $
.if !defined(IS_BUILTIN.bind)
IS_BUILTIN.bind= no
@@ -7,10 +7,24 @@
. endif
. if defined(_BIND_VERSION) && !empty(_BIND_VERSION:Nvers)
IS_BUILTIN.bind= yes
-BUILTIN_PKG.bind= bind-${_BIND_VERSION}
+BUILTIN_PKG.bind= bind-${_BIND_VERSION:Nvers}
BUILDLINK_VARS+= BUILTIN_PKG.bind
. endif
.endif # IS_BUILTIN.bind
BUILDLINK_VARS+= IS_BUILTIN.bind
+.if !defined(USE_BUILTIN.bind)
USE_BUILTIN.bind?= ${IS_BUILTIN.bind}
+. if defined(BUILTIN_PKG.bind)
+. for _depend_ in ${BUILDLINK_DEPENDS.bind}
+. if !empty(USE_BUILTIN.bind:M[yY][eE][sS])
+USE_BUILTIN.bind!= \
+ if ${PKG_ADMIN} pmatch '${_depend_}' ${BUILTIN_PKG.bind}; then \
+ ${ECHO} "yes"; \
+ else \
+ ${ECHO} "no"; \
+ fi
+. endif
+. endfor
+. endif
+.endif # USE_BUILTIN.bind
Home |
Main Index |
Thread Index |
Old Index