From owner-svn-ports-head@FreeBSD.ORG Mon Aug 4 12:12:56 2014 Return-Path: Delivered-To: svn-ports-head@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 A16849AF for ; Mon, 4 Aug 2014 12:12:56 +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 7986522BC for ; Mon, 4 Aug 2014 12:12:56 +0000 (UTC) Received: from bapt (uid 1235) (envelope-from bapt@FreeBSD.org) id 59c0 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Mon, 04 Aug 2014 12:12:56 +0000 From: Baptiste Daroussin Date: Mon, 4 Aug 2014 12:12:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363994 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53df78c8.59c0.78901817@svn.freebsd.org> X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2014 12:12:56 -0000 Author: bapt Date: Mon Aug 4 12:12:55 2014 New Revision: 363994 URL: http://svnweb.freebsd.org/changeset/ports/363994 QAT: https://qat.redports.org/buildarchive/r363994/ Log: Add make missing-package that will do the same as make missing but print package names rather than origin PR: 177230 Submitted by: ehaupt Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Mon Aug 4 12:05:40 2014 (r363993) +++ head/Mk/bsd.port.mk Mon Aug 4 12:12:55 2014 (r363994) @@ -5327,6 +5327,16 @@ missing: fi; \ done +# shwo missing dependencies by name +missing-packages: + @_packages=$$(${PKG_INFO} -aq); \ + for dir in $$(${ALL-DEPENDS-LIST}); do \ + _p=$$(cd $$dir; ${MAKE} -VPKGNAME); \ + if ! $$(${ECHO_CMD} $${_packages} | ${GREP} -q $${_p}); then \ + ${ECHO_CMD} $${_p}; \ + fi; \ + done + ################################################################ # Everything after here are internal targets and really # shouldn't be touched by anybody but the release engineers.