pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Fix a 'malformed conditional' error.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cfd618ef4b16
branches:  trunk
changeset: 470979:cfd618ef4b16
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sun Mar 14 12:15:19 2004 +0000

description:
Fix a 'malformed conditional' error.

diffstat:

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

diffs (18 lines):

diff -r ac4e64b2377a -r cfd618ef4b16 mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk   Sun Mar 14 09:21:25 2004 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk   Sun Mar 14 12:15:19 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.115 2004/03/13 03:33:31 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.116 2004/03/14 12:15:19 jmmv Exp $
 #
 # An example package buildlink3.mk file:
 #
@@ -141,7 +141,7 @@
 _BLNK_RECURSIVE_DEPENDS=       # empty
 .for _pkg_ in ${_BLNK_PACKAGES}   
 .  if empty(_BLNK_RECURSIVE_DEPENDS:M${_pkg_}) && \
-      !empty(USE_BUILTIN.${_pkg_}:M[nN][oO])
+      (defined(USE_BUILTIN.${_pkg_}) && !empty(USE_BUILTIN.${_pkg_}:M[nN][oO]))
 _BLNK_RECURSIVE_DEPENDS+=      ${_pkg_}
 .  endif
 .endfor



Home | Main Index | Thread Index | Old Index