From owner-svn-ports-all@FreeBSD.ORG Mon Aug 11 20:20:24 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 015C4DFD for ; Mon, 11 Aug 2014 20:20:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3CCB2E1E for ; Mon, 11 Aug 2014 20:20:23 +0000 (UTC) Received: from bdrewery (uid 1298) (envelope-from bdrewery@FreeBSD.org) id 244e by svn.freebsd.org (DragonFly Mail Agent v0.9+); Mon, 11 Aug 2014 20:20:23 +0000 From: Bryan Drewery Date: Mon, 11 Aug 2014 20:20:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364655 - head/Mk/Scripts X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e92587.244e.296256b6@svn.freebsd.org> X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2014 20:20:24 -0000 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=