svn commit: r363994 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Mon Aug 4 12:12:56 UTC 2014


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.


More information about the svn-ports-all mailing list