summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-01-10 13:10:46 +0000
committertron <tron@pkgsrc.org>2001-01-10 13:10:46 +0000
commit8e16d675903065c232d8e05558695e68f2081939 (patch)
tree1a4597c0a73f0d60cb495ac282ef66b2b4b8f726 /mk
parent1f1633a32824f47630c7da8bdc37807ffe061dd8 (diff)
downloadpkgsrc-8e16d675903065c232d8e05558695e68f2081939.tar.gz
Invoke second "xargs" command with "-n 256" in "print-pkg-size-depends"
because Solaris's "xargs" will otherwise invoke "pkg_info" with no package names when a package has no dependences.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 967c9fb78b2..9c66b0a455f 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.638 2001/01/10 11:54:59 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.639 2001/01/10 13:10:46 tron Exp $
#
# This file is in the public domain.
#
@@ -2986,7 +2986,7 @@ print-pkg-size-depends:
@${MAKE} ${MAKEFLAGS} run-depends-list PACKAGE_DEPENDS_QUICK=true \
| xargs -n 1 ${SETENV} ${PKG_INFO} -e \
| sort -u \
- | xargs ${SETENV} ${PKG_INFO} -qs \
+ | xargs -n 256 ${SETENV} ${PKG_INFO} -qs \
| ${AWK} -- 'BEGIN { print("0 "); } \
/^[0-9]+$$/ { print($$1, " + "); } \
END { print("p"); }' \