summaryrefslogtreecommitdiff
path: root/mk/flavor
diff options
context:
space:
mode:
authorrillig <rillig>2007-02-19 11:05:48 +0000
committerrillig <rillig>2007-02-19 11:05:48 +0000
commitbdc5279f7c06d6b5938ab35d8b41fb0d9b6430d0 (patch)
tree5d059723e810a0540d1c152ba3fa06c4abed48d7 /mk/flavor
parentb099603fd802951cf099ffa3e9565bc473b2f8f7 (diff)
downloadpkgsrc-bdc5279f7c06d6b5938ab35d8b41fb0d9b6430d0.tar.gz
Fixed more shell quoting issues, which showed up on IRIX. No wonder that
the package count on IRIX is so small.
Diffstat (limited to 'mk/flavor')
-rw-r--r--mk/flavor/pkg/depends.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/mk/flavor/pkg/depends.mk b/mk/flavor/pkg/depends.mk
index 0770d3ec887..f28861e881b 100644
--- a/mk/flavor/pkg/depends.mk
+++ b/mk/flavor/pkg/depends.mk
@@ -1,4 +1,4 @@
-# $NetBSD: depends.mk,v 1.19 2007/02/19 10:51:58 rillig Exp $
+# $NetBSD: depends.mk,v 1.20 2007/02/19 11:05:48 rillig Exp $
_DEPENDS_FILE= ${WRKDIR}/.depends
_REDUCE_DEPENDS_CMD= ${SETENV} CAT=${CAT:Q} \
@@ -70,13 +70,13 @@ ${_DEPENDS_FILE}:
###
.PHONY: depends-install
depends-install: ${_DEPENDS_FILE}
- ${_PKG_SILENT}${_PKG_DEBUG}set -e; \
- set -- dummy `${CAT} ${_DEPENDS_FILE}`; shift; \
- while ${TEST} $$# -gt 0; do \
- type="$$1"; pattern="$$2"; dir="$$3"; shift 3; \
+ ${RUN} \
+ while read type pattern dir rest; do \
+ { [ "$$dir" ] && [ ! "$$rest" ]; } \
+ || ${FAIL_MSG} "[depends.mk] Internal error #1"; \
silent=; \
${_DEPENDS_INSTALL_CMD}; \
- done
+ done < ${_DEPENDS_FILE}
######################################################################
### bootstrap-depends (PUBLIC, pkgsrc/mk/depends/depends.mk)