Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164254973
D26551.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
588 B
Referenced Files
None
Subscribers
None
D26551.diff
View Options
Index: head/Mk/bsd.port.mk
===================================================================
--- head/Mk/bsd.port.mk
+++ head/Mk/bsd.port.mk
@@ -5134,7 +5134,12 @@
.if !target(create-binary-alias)
create-binary-alias: ${BINARY_LINKDIR}
.for target src in ${BINARY_ALIAS:C/=/ /}
- @${RLN} `which ${src}` ${BINARY_LINKDIR}/${target}
+ @if srcpath=`which -- ${src}`; then \
+ ${RLN} $${srcpath} ${BINARY_LINKDIR}/${target}; \
+ else \
+ ${ECHO_MSG} "===> Missing \"${src}\" to create a binary alias at \"${BINARY_LINKDIR}/${target}\""; \
+ ${FALSE}; \
+ fi
.endfor
.endif
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 31, 3:45 AM (4 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35765227
Default Alt Text
D26551.diff (588 B)
Attached To
Mode
D26551: bsd.port.mk: Handle incorrect binary aliases gracefully
Attached
Detach File
Event Timeline
Log In to Comment