Date: Mon, 11 Aug 2014 20:20:23 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364655 - head/Mk/Scripts Message-ID: <53e92587.244e.296256b6@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Mon Aug 11 20:20:23 2014 New Revision: 364655 URL: http://svnweb.freebsd.org/changeset/ports/364655 QAT: https://qat.redports.org/buildarchive/r364655/ Log: - 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 Modified: head/Mk/Scripts/check-stagedir.sh Modified: head/Mk/Scripts/check-stagedir.sh ============================================================================== --- head/Mk/Scripts/check-stagedir.sh Mon Aug 11 20:19:40 2014 (r364654) +++ head/Mk/Scripts/check-stagedir.sh Mon Aug 11 20:20:23 2014 (r364655) @@ -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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e92587.244e.296256b6>