diff options
author | markd <markd@pkgsrc.org> | 2004-07-18 12:59:02 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-07-18 12:59:02 +0000 |
commit | 77f5cb29f42f772de0b3884d7d5fdfc13f91ab6a (patch) | |
tree | 0ffad8e648a6ed8a4a3639158623ea633d0d8208 /net/bind9 | |
parent | 7be0480587a4b5cbdb2cd1dc80df6800cf91c9d2 (diff) | |
download | pkgsrc-77f5cb29f42f772de0b3884d7d5fdfc13f91ab6a.tar.gz |
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 (limited to 'net/bind9')
-rw-r--r-- | net/bind9/builtin.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bind9/builtin.mk b/net/bind9/builtin.mk index 2dbe2420307..84ab69ac9f6 100644 --- a/net/bind9/builtin.mk +++ b/net/bind9/builtin.mk @@ -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 |