diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2010-06-02 11:40:48 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2010-06-02 11:40:48 +0000 |
commit | d338afe891fad666327461e6bc180e4272309983 (patch) | |
tree | 6a93a191a8bed411a54dd7636c5b520a4333a3aa /Mk | |
parent | 083caba9b4bc50c979fc1ae15e51386ff7e3464b (diff) |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 90fd37a11003..75c9442765d9 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -5533,11 +5533,11 @@ package-recursive: package # Show missing dependiencies missing: - @for dir in $$(${ALL-DEPENDS-LIST}); do \ - THISORIGIN=$${dir##${PORTSDIR}/}; \ - installed=$$(${PKG_INFO} -qO $${THISORIGIN}); \ - if [ -z "$$installed" ]; then \ - ${ECHO_CMD} $$THISORIGIN; \ + @_origins=$$(${PKG_INFO} -aoq); \ + for dir in $$(${ALL-DEPENDS-LIST}); do \ + _origin=$${dir##${PORTSDIR}/}; \ + if ! $$(${ECHO_CMD} $${_origins} | ${GREP} -q $${_origin}); then \ + ${ECHO_CMD} $${_origin}; \ fi; \ done |