diff options
author | jlam <jlam> | 2004-02-09 05:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-09 05:42:57 +0000 |
commit | 75cd04491f3aeb521f656ad77c62db7cbaeba099 (patch) | |
tree | 6c1ff1349dae94e3a8454c2597bde55a63e65963 /mk | |
parent | 80068a8ea95dc9c193d4427d9bf52df6c5610248 (diff) | |
download | pkgsrc-75cd04491f3aeb521f656ad77c62db7cbaeba099.tar.gz |
Limit xargs to 256 args when passing args to ls for the package size
computation. The motivation for this is that kdelibs3 was overflowing ls
through xargs.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 49779544191..cf1a9fb9e10 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1382 2004/02/09 01:52:14 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1383 2004/02/09 05:42:57 jlam Exp $ # # This file is in the public domain. # @@ -4448,7 +4448,7 @@ print-pkg-size-this: <${PLIST} \ | ${SORT} -u \ | ${SED} -e "s/'/'\\\\''/g" -e "s/.*/'&'/" \ - | ${XARGS} ${LS} -ld \ + | ${XARGS} -n 256 ${LS} -ld \ | ${AWK} 'BEGIN { print("0 "); } \ { print($$5, " + "); } \ END { print("p"); }' \ |