aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-08-04 12:12:55 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-08-04 12:12:55 +0000
commit4a31099908d082c8fae596a39566074bb330dfb0 (patch)
treeddde1853f59be44124c159b85751b161ed2cd0c4 /Mk/bsd.port.mk
parentb1ee3e96a51dac15332797571a9fee6ec40879d7 (diff)
downloadports-4a31099908d082c8fae596a39566074bb330dfb0.tar.gz
ports-4a31099908d082c8fae596a39566074bb330dfb0.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index a6ed0b96b050..0e596f3d7f00 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -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.