diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-19 11:05:48 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-19 11:05:48 +0000 |
commit | 92248be659058ef1fbfb35255ce02a48e5b1ff3e (patch) | |
tree | 5d059723e810a0540d1c152ba3fa06c4abed48d7 /mk | |
parent | acce7c23241f4e9d80c5f37a417bf41a084ea1ff (diff) | |
download | pkgsrc-92248be659058ef1fbfb35255ce02a48e5b1ff3e.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')
-rw-r--r-- | mk/flavor/pkg/depends.mk | 12 |
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) |