Make actual-package-depends work with (unsupported) non-standard
subtrees of ${PORTSDIR} with depths other than 2. PR: 144482 Submitted by: brooks
This commit is contained in:
parent
5dbb27e594
commit
8f0f2e053a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269237
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user