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 | 228608ef83f82b647b90018772b618d615a69457 (patch) | |
tree | 7c6555633a42b4f2fa1d27303a1862ec753b0811 /mk/buildlink3 | |
parent | 083802d3f5ea31952a8244da80b53031b8d88115 (diff) | |
download | pkgsrc-228608ef83f82b647b90018772b618d615a69457.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/buildlink3')
-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 |