pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/bind9 Fix BIND version test to work with pre BIND ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb5047bc34be
branches:  trunk
changeset: 478146:eb5047bc34be
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Jul 18 11:22:13 2004 +0000

description:
Fix BIND version test to work with pre BIND 9 versions in NetBSD.

diffstat:

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

diffs (15 lines):

diff -r 9eee99b96623 -r eb5047bc34be net/bind9/builtin.mk
--- a/net/bind9/builtin.mk      Sun Jul 18 10:49:49 2004 +0000
+++ b/net/bind9/builtin.mk      Sun Jul 18 11:22:13 2004 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: builtin.mk,v 1.1 2004/07/17 22:28:43 markd Exp $
+# $NetBSD: builtin.mk,v 1.2 2004/07/18 11:22:13 tron 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'
+_BIND_VERSION!=/usr/sbin/named -v | ${HEAD} -1 | ${CUT} -d ' ' -f 2
 .  endif
 .  if defined(_BIND_VERSION) && !empty(_BIND_VERSION)
 IS_BUILTIN.bind=        yes



Home | Main Index | Thread Index | Old Index