summaryrefslogtreecommitdiff
path: root/mk/buildlink3
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-06 04:29:33 +0000
committerjlam <jlam>2004-01-06 04:29:33 +0000
commitc2e1c5d7590c3dd6d315d43a7a77a00de9e30e04 (patch)
tree5d0aecdf033aedd21ddfd3eec5cdb38caae0dca0 /mk/buildlink3
parentc5e13028850f3fe28d1d8e110426f64dcad16d30 (diff)
downloadpkgsrc-c2e1c5d7590c3dd6d315d43a7a77a00de9e30e04.tar.gz
Fix bug where "!empty" was missing from a .if test.
Diffstat (limited to 'mk/buildlink3')
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index 3c272e50dc9..16ae34ffa0c 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -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 @@ BUILDLINK_IS_BUILTIN.${_pkg_}?= no
# 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