Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151196916
D23484.id67767.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
997 B
Referenced Files
None
Subscribers
None
D23484.id67767.diff
View Options
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -605,7 +605,7 @@
# for this port.
# install-missing-packages
# - Install missing dependencies from package and mark
-# them as automatically installed
+# 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
@@ -4332,7 +4332,8 @@
# Install missing dependencies from package
install-missing-packages:
@_dirs=$$(${MISSING-DEPENDS-LIST}); \
- ${PKG_BIN} install -A $$(${ECHO} $${_dirs} | ${SED} "s%${PORTSDIR}/%%g")
+ [ -z "$${_dirs}" ] || \
+ ${SU_CMD} "${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
Tue, Apr 7, 6:35 PM (15 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31045586
Default Alt Text
D23484.id67767.diff (997 B)
Attached To
Mode
D23484: Fix install-missing-packages
Attached
Detach File
Event Timeline
Log In to Comment