diff options
author | tron <tron@pkgsrc.org> | 2004-07-18 11:22:13 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-07-18 11:22:13 +0000 |
commit | bc302f3cb883edbbcea4ff5750daa4b00a9a55a8 (patch) | |
tree | 88ede6532bccd3e80480412efc9a0d6632eeadc8 /net/bind9 | |
parent | 315485eb670b2cb83eda405a259fec7849484597 (diff) | |
download | pkgsrc-bc302f3cb883edbbcea4ff5750daa4b00a9a55a8.tar.gz |
Fix BIND version test to work with pre BIND 9 versions in NetBSD.
Diffstat (limited to 'net/bind9')
-rw-r--r-- | net/bind9/builtin.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bind9/builtin.mk b/net/bind9/builtin.mk index 187cee461e1..2dbe2420307 100644 --- a/net/bind9/builtin.mk +++ b/net/bind9/builtin.mk @@ -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 |