diff options
author | minskim <minskim@pkgsrc.org> | 2004-04-26 16:27:36 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-04-26 16:27:36 +0000 |
commit | d14e019975f44da1c9d294cae3fb636a3ecc60ca (patch) | |
tree | 7c6555633a42b4f2fa1d27303a1862ec753b0811 /mk | |
parent | aac8033494af2533fdf298eb5378c46c78d128ef (diff) | |
download | pkgsrc-d14e019975f44da1c9d294cae3fb636a3ecc60ca.tar.gz |
Define BLNK_RECMETHOD.${_pkg_} not only for full dependency but also
for build dependency. Also fix a related pasto. This fixes a
malformed conditional error that occurs when a package in build
dependency has BUILDLINK_RECOMMENDED.*.
OK'ed by jmmv@.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index 9c06a0be4d3..0517b31f682 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.141 2004/04/24 15:49:42 minskim Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.142 2004/04/26 16:27:36 minskim Exp $ # # An example package buildlink3.mk file: # @@ -175,6 +175,7 @@ _BLNK_DEPMETHOD.${_pkg_}= _BLNK_ADD_TO.DEPENDS _BLNK_RECMETHOD.${_pkg_}= _BLNK_ADD_TO.RECOMMENDED . elif !empty(BUILDLINK_DEPMETHOD.${_pkg_}:Mbuild) _BLNK_DEPMETHOD.${_pkg_}= _BLNK_ADD_TO.BUILD_DEPENDS +_BLNK_RECMETHOD.${_pkg_}= _BLNK_ADD_TO.BUILD_DEPENDS . endif . if defined(BUILDLINK_DEPENDS.${_pkg_}) && \ defined(BUILDLINK_PKGSRCDIR.${_pkg_}) @@ -240,7 +241,7 @@ ${_BLNK_DEPMETHOD.${_pkg_}}+= ${_depend_}:${BUILDLINK_PKGSRCDIR.${_pkg_}} . if defined(BUILDLINK_RECOMMENDED.${_pkg_}) && \ defined(BUILDLINK_PKGSRCDIR.${_pkg_}) . for _rec_ in ${BUILDLINK_RECOMMENDED.${_pkg_}} -. if empty(${_BLNK_RECMETHOD.${_pkg_}}:M${_depend_}\:*) +. if empty(${_BLNK_RECMETHOD.${_pkg_}}:M${_rec_}\:*) ${_BLNK_RECMETHOD.${_pkg_}}+= ${_rec_}:${BUILDLINK_PKGSRCDIR.${_pkg_}} . endif . endfor |