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