pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/bind9 Check that a variable is defined before usin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fe34bb4e306
branches:  trunk
changeset: 495070:7fe34bb4e306
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jun 02 00:27:22 2005 +0000

description:
Check that a variable is defined before using it.

diffstat:

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

diffs (19 lines):

diff -r 65c07fa3f618 -r 7fe34bb4e306 net/bind9/builtin.mk
--- a/net/bind9/builtin.mk      Wed Jun 01 23:27:04 2005 +0000
+++ b/net/bind9/builtin.mk      Thu Jun 02 00:27:22 2005 +0000
@@ -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 @@
 ### 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



Home | Main Index | Thread Index | Old Index