pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Revert the changes in revision 1.2 to do...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f1c2c5b16214
branches: trunk
changeset: 467326:f1c2c5b16214
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Jan 29 07:19:00 2004 +0000
description:
Revert the changes in revision 1.2 to do duplicate directory suppression.
We just let the rest of the wrapper scripts do it now that we can't
overflow a fixed-sized circular buffer.
diffstat:
mk/buildlink3/buffer | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diffs (36 lines):
diff -r 72eac2af910c -r f1c2c5b16214 mk/buildlink3/buffer
--- a/mk/buildlink3/buffer Thu Jan 29 07:14:30 2004 +0000
+++ b/mk/buildlink3/buffer Thu Jan 29 07:19:00 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buffer,v 1.5 2004/01/29 07:14:30 jlam Exp $
+# $NetBSD: buffer,v 1.6 2004/01/29 07:19:00 jlam Exp $
#
# Push arguments onto the argument stack and shift the arguments. The
# next argument checked by the cache and logic files is take from the
@@ -34,24 +34,16 @@
arg=`$echo "X$arg" | $Xsed -e "s|^"$R"||g"`
allargs="$@"
save_IFS="${IFS}"; IFS=":"
- dirlist=
set -- $arg
while $test $# -gt 0; do
- case "$dirlist" in
- "$1"|"$1 "*) ;;
- *" $1 "*|*" $1") ;;
- *) dirlist="$1 $dirlist" ;;
- esac
+ depth=${depth}0
+ eval stack${depth}="\$R\$1"
shift
done
IFS="${save_IFS}"
if $test -n "$allargs"; then
set -- $allargs
fi
- for dir in $dirlist; do
- depth=${depth}0
- eval stack${depth}="\$R\$dir"
- done
;;
*)
depth=${depth}0
Home |
Main Index |
Thread Index |
Old Index