mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +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() {
|
lookup_dependency_dirs() {
|
||||||
: >${WRKDIR}/.run-depends-dirs
|
: >${WRKDIR}/.run-depends-dirs
|
||||||
if [ -n "${WITH_PKGNG}" ]; then
|
if [ -n "${WITH_PKGNG}" ]; then
|
||||||
echo "${PACKAGE_DEPENDS}" | while read pkg; do \
|
if [ -n "${PACKAGE_DEPENDS}" ]; then
|
||||||
PKG_CHECKED= pkg_get_recursive_deps "${pkg}"; done | \
|
echo "${PACKAGE_DEPENDS}" | while read pkg; do \
|
||||||
sort -u | \
|
PKG_CHECKED= pkg_get_recursive_deps "${pkg}"; \
|
||||||
xargs ${PKG_QUERY} "%D" | sed -e 's,/$,,' | sort -u \
|
done | sort -u | xargs ${PKG_QUERY} "%D" | \
|
||||||
>>${WRKDIR}/.run-depends-dirs
|
sed -e 's,/$,,' | sort -u \
|
||||||
|
>>${WRKDIR}/.run-depends-dirs
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
# Evaluate ACTUAL-PACKAGE-DEPENDS
|
# Evaluate ACTUAL-PACKAGE-DEPENDS
|
||||||
packagelist=
|
packagelist=
|
||||||
|
Loading…
Reference in New Issue
Block a user