diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2011-02-16 10:43:53 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2011-02-16 10:43:53 +0000 |
commit | 8f0f2e053ae01b7a9901b1b8d9e5ceb8f827ec06 (patch) | |
tree | 157000d3d7f2d7c4396b85efa2ded55f6da573fc /Mk | |
parent | 5dbb27e5949ce4ae2307ae119f15d9e53d7dd895 (diff) | |
download | ports-8f0f2e053ae01b7a9901b1b8d9e5ceb8f827ec06.tar.gz ports-8f0f2e053ae01b7a9901b1b8d9e5ceb8f827ec06.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index bc8ca261026a..a08a83420e43 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -5561,8 +5561,13 @@ ACTUAL-PACKAGE-DEPENDS?= \ fi; \ done); \ for dir in ${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}; do \ - tmp=$${dir%/*}; \ - dir=$${tmp\#\#*/}/$${dir\#\#*/}; \ + tmp=$${dir\#${PORTSDIR}/}; \ + if [ "$$tmp" = "$$dir" ]; then \ + tmp=$${dir%/*}; \ + dir=$${tmp\#\#*/}/$${dir\#\#*/}; \ + else \ + dir=$$tmp; \ + fi; \ set -- $$origins; \ while [ $$\# -gt 1 ]; do \ if [ ! -d "${PORTSDIR}/$$2" ]; then \ |