Page MenuHomeFreeBSD

D22551.id64867.diff
No OneTemporary

D22551.id64867.diff

Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -603,7 +603,9 @@
# test-depends-list
# - Show all directories which are test-dependencies
# for this port.
-#
+# install-missing-packages
+# - Install missing dependencies from package and mark
+# them as automatically installed
# extract - Unpacks ${DISTFILES} into ${WRKDIR}.
# patch - Apply any provided patches to the source.
# configure - Runs either GNU configure, one or more local configure
@@ -4308,6 +4310,11 @@
${ECHO_CMD} $${_p}; \
fi; \
done
+
+# Install missing dependencies from package
+install-missing-packages:
+ @_dirs=$$(${MISSING-DEPENDS-LIST}); \
+ ${PKG_BIN} install -A $$(${ECHO} $${_dirs} | ${SED} "s%${PORTSDIR}/%%g")
################################################################
# Everything after here are internal targets and really

File Metadata

Mime Type
text/plain
Expires
Wed, Jun 17, 2:41 AM (9 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34010202
Default Alt Text
D22551.id64867.diff (958 B)

Event Timeline