Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2014 12:12:56 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363994 - head/Mk
Message-ID:  <53df78c8.59c0.78901817@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53df78c8.59c0.78901817>