pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/bind9 Add builtin.mk to allow use of bind9 from th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c5c77f20dfe
branches:  trunk
changeset: 478130:3c5c77f20dfe
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Jul 17 22:28:43 2004 +0000

description:
Add builtin.mk to allow use of bind9 from the base OS.

diffstat:

 net/bind9/builtin.mk |  16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r a21812afd6aa -r 3c5c77f20dfe net/bind9/builtin.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind9/builtin.mk      Sat Jul 17 22:28:43 2004 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: builtin.mk,v 1.1 2004/07/17 22:28:43 markd Exp $
+
+.if !defined(IS_BUILTIN.bind)
+IS_BUILTIN.bind=        no
+.  if exists(/usr/sbin/named)
+_BIND_VERSION!=/usr/sbin/named -v | ${SED} -n 's/^BIND //p'
+.  endif
+.  if defined(_BIND_VERSION) && !empty(_BIND_VERSION)
+IS_BUILTIN.bind=        yes
+BUILTIN_PKG.bind=       bind-${_BIND_VERSION}
+BUILDLINK_VARS+=        BUILTIN_PKG.bind
+.  endif
+.endif  # IS_BUILTIN.bind
+BUILDLINK_VARS+=        IS_BUILTIN.bind
+
+USE_BUILTIN.bind?=      ${IS_BUILTIN.bind}



Home | Main Index | Thread Index | Old Index