diff options
author | xtraeme <xtraeme> | 2004-03-06 09:46:05 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-03-06 09:46:05 +0000 |
commit | db294057bc30e06fc65780576ee740e11bdff56c (patch) | |
tree | 25edecc54358256f14fa3c2d17f71156630e62e1 /mk | |
parent | 9935fb6960aa8b2f5e891c0101ab4494f312315c (diff) | |
download | pkgsrc-db294057bc30e06fc65780576ee740e11bdff56c.tar.gz |
Make sure USE_BUILTIN.<pkg> is defined before checking its value. jlam@
seems dead again... so I'll commit this.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index 685c72d3eba..2af20adf595 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.102 2004/03/05 19:25:37 jlam Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.103 2004/03/06 09:46:05 xtraeme Exp $ # # An example package buildlink3.mk file: # @@ -123,9 +123,10 @@ _BLNK_PACKAGES+= ${_pkg_} # _BLNK_DEPENDS= # empty .for _pkg_ in ${BUILDLINK_DEPENDS} -. if empty(_BLNK_DEPENDS:M${_pkg_}) && !empty(USE_BUILTIN.${_pkg_}:M[nN][oO]) +. if empty(_BLNK_DEPENDS:M${_pkg_}) && (defined(USE_BUILTIN.${_pkg_}) && \ + !empty(USE_BUILTIN.${_pkg_}:M[nN][oO])) _BLNK_DEPENDS+= ${_pkg_} -. endif +. endif .endfor # Add the proper dependency on each package pulled in by buildlink3.mk |