pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk _DEPENDS.${_path_} can contain more than one depend...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c3bd81a7906c
branches:  trunk
changeset: 481542:c3bd81a7906c
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Oct 06 21:51:41 2004 +0000

description:
_DEPENDS.${_path_} can contain more than one dependency pattern, so split
along whitespace when appending ":../../category/pkgdir".  Fixes problem
noticed when running "make show-depends-dirs".

diffstat:

 mk/reduce-depends.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r a054e25d902a -r c3bd81a7906c mk/reduce-depends.mk
--- a/mk/reduce-depends.mk      Wed Oct 06 20:59:40 2004 +0000
+++ b/mk/reduce-depends.mk      Wed Oct 06 21:51:41 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: reduce-depends.mk,v 1.1 2004/10/05 15:28:50 jlam Exp $
+# $NetBSD: reduce-depends.mk,v 1.2 2004/10/06 21:51:41 jlam Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -111,7 +111,9 @@
 # The dependencies simply conflict, so just pass them on through to the
 # normal dependency handling code.
 #
-REDUCED_DEPENDS+=      ${_DEPENDS.${_path_}}:${_DEPENDS_PKGPATH.${_path_}}
+.    for _depend_ in ${_DEPENDS.${_path_}}
+REDUCED_DEPENDS+=      ${_depend_}:${_DEPENDS_PKGPATH.${_path_}}
+.    endfor
 .  else
 .    for _depend_ in ${_DEPENDS.${_path_}}
 .      if empty(_GE_DEPENDS.${_path_}:M${_depend_})



Home | Main Index | Thread Index | Old Index