Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151537529
D22551.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
973 B
Referenced Files
None
Subscribers
None
D22551.diff
View Options
Index: head/Mk/bsd.port.mk
===================================================================
--- head/Mk/bsd.port.mk
+++ head/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
@@ -4318,6 +4320,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
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 10, 2:07 AM (2 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31189139
Default Alt Text
D22551.diff (973 B)
Attached To
Mode
D22551: Ports: Add new Makefile target "install-missing-packages"
Attached
Detach File
Event Timeline
Log In to Comment