pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Fix bug where "!empty" was missing from ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea600ff5f6cf
branches:  trunk
changeset: 465791:ea600ff5f6cf
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Jan 06 04:29:33 2004 +0000

description:
Fix bug where "!empty" was missing from a .if test.

diffstat:

 mk/buildlink3/bsd.buildlink3.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5cfc72fd7bec -r ea600ff5f6cf mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk   Tue Jan 06 04:26:53 2004 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk   Tue Jan 06 04:29:33 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.37 2004/01/05 21:50:13 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.38 2004/01/06 04:29:33 jlam Exp $
 #
 # An example package buildlink3.mk file:
 #
@@ -171,7 +171,7 @@
 # If the "built-in" package (the software supplied by the base operating
 # system) is available, then use it by default.
 #
-.  if (BUILDLINK_IS_BUILTIN.${_pkg_}:M[yY][eE][sS])
+.  if !empty(BUILDLINK_IS_BUILTIN.${_pkg_}:M[yY][eE][sS])
 BUILDLINK_USE_BUILTIN.${_pkg_}?=       yes
 .  else
 BUILDLINK_USE_BUILTIN.${_pkg_}?=       no



Home | Main Index | Thread Index | Old Index