pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Define BLNK_RECMETHOD.${_pkg_} not only ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cac65aec0f54
branches:  trunk
changeset: 474229:cac65aec0f54
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Apr 26 16:27:36 2004 +0000

description:
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:

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

diffs (26 lines):

diff -r 6dbaa8650d41 -r cac65aec0f54 mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk   Mon Apr 26 15:42:44 2004 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk   Mon Apr 26 16:27:36 2004 +0000
@@ -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_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 @@
 .  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



Home | Main Index | Thread Index | Old Index