diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-02 00:27:22 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-02 00:27:22 +0000 |
commit | 2467f4afb3ac9b8ef71271e8152f02563ad208b8 (patch) | |
tree | a0854827aad4bf2cf0c5bc4b1d78e023c92c0446 /net | |
parent | dea41d4bcf7cb9d7e58c6fcd056898675c7cc473 (diff) | |
download | pkgsrc-2467f4afb3ac9b8ef71271e8152f02563ad208b8.tar.gz |
Check that a variable is defined before using it.
Diffstat (limited to 'net')
-rw-r--r-- | net/bind9/builtin.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/bind9/builtin.mk b/net/bind9/builtin.mk index d313b6508c3..0e2987ef934 100644 --- a/net/bind9/builtin.mk +++ b/net/bind9/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.7 2005/06/01 18:03:07 jlam Exp $ +# $NetBSD: builtin.mk,v 1.8 2005/06/02 00:27:22 jlam Exp $ BUILTIN_PKG:= bind @@ -32,7 +32,8 @@ MAKEVARS+= IS_BUILTIN.bind ### a package name to represent the built-in package. ### .if !defined(BUILTIN_PKG.bind) && \ - !empty(IS_BUILTIN.bind:M[yY][eE][sS]) + !empty(IS_BUILTIN.bind:M[yY][eE][sS]) && \ + defined(BUILTIN_VERSION.bind) BUILTIN_PKG.bind= bind-${BUILTIN_VERSION.bind:Nvers} .endif MAKEVARS+= BUILTIN_PKG.bind |