mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Fix 'make check-plist' incorrectly considering all installed packages as
run dependencies if the port being checked has no RUN_DEPENDS. This could cause false-positive "Possibly owned by dependency" warnings. With hat: portmgr
This commit is contained in:
parent
4d6d20cd7a
commit
759281b0d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364655
@ -193,11 +193,13 @@ pkg_get_recursive_deps() {
|
||||
lookup_dependency_dirs() {
|
||||
: >${WRKDIR}/.run-depends-dirs
|
||||
if [ -n "${WITH_PKGNG}" ]; then
|
||||
echo "${PACKAGE_DEPENDS}" | while read pkg; do \
|
||||
PKG_CHECKED= pkg_get_recursive_deps "${pkg}"; done | \
|
||||
sort -u | \
|
||||
xargs ${PKG_QUERY} "%D" | sed -e 's,/$,,' | sort -u \
|
||||
>>${WRKDIR}/.run-depends-dirs
|
||||
if [ -n "${PACKAGE_DEPENDS}" ]; then
|
||||
echo "${PACKAGE_DEPENDS}" | while read pkg; do \
|
||||
PKG_CHECKED= pkg_get_recursive_deps "${pkg}"; \
|
||||
done | sort -u | xargs ${PKG_QUERY} "%D" | \
|
||||
sed -e 's,/$,,' | sort -u \
|
||||
>>${WRKDIR}/.run-depends-dirs
|
||||
fi
|
||||
else
|
||||
# Evaluate ACTUAL-PACKAGE-DEPENDS
|
||||
packagelist=
|
||||
|
Loading…
Reference in New Issue
Block a user