pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/bind9 Redo original bind version test in way that ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/006f569f9160
branches: trunk
changeset: 478148:006f569f9160
user: markd <markd%pkgsrc.org@localhost>
date: Sun Jul 18 12:59:02 2004 +0000
description:
Redo original bind version test in way that doesnt result in a make
warning about null output from shell. We don't want to get a version
number for bind versions older that 9 as that complicates the later
tests.
diffstat:
net/bind9/builtin.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r 6ba9a5200aae -r 006f569f9160 net/bind9/builtin.mk
--- a/net/bind9/builtin.mk Sun Jul 18 12:30:55 2004 +0000
+++ b/net/bind9/builtin.mk Sun Jul 18 12:59:02 2004 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: builtin.mk,v 1.2 2004/07/18 11:22:13 tron Exp $
+# $NetBSD: builtin.mk,v 1.3 2004/07/18 12:59:02 markd Exp $
.if !defined(IS_BUILTIN.bind)
IS_BUILTIN.bind= no
. if exists(/usr/sbin/named)
-_BIND_VERSION!=/usr/sbin/named -v | ${HEAD} -1 | ${CUT} -d ' ' -f 2
+_BIND_VERSION!=${ECHO} 'vers ' && /usr/sbin/named -v | ${SED} -n 's/^BIND //p'
. endif
-. if defined(_BIND_VERSION) && !empty(_BIND_VERSION)
+. if defined(_BIND_VERSION) && !empty(_BIND_VERSION:Nvers)
IS_BUILTIN.bind= yes
BUILTIN_PKG.bind= bind-${_BIND_VERSION}
BUILDLINK_VARS+= BUILTIN_PKG.bind
Home |
Main Index |
Thread Index |
Old Index