Tell realpath to stay quiet if it cannot resolve a link
Approved by: portmgr (bdrewery)
This commit is contained in:
parent
9f9b68bbe7
commit
66fcd054e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368217
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ patch-lafiles:
|
|||
${XARGS} ${SED} -i '' -e "/dependency_libs=/s/=.*/=''/"
|
||||
.else
|
||||
@${FIND} ${STAGEDIR} -type l -exec ${SH} -c \
|
||||
'case `${REALPATH} "{}"` in \
|
||||
'case `${REALPATH} -q "{}"` in \
|
||||
*.la) ${ECHO_CMD} "{}" ;; esac' \; | \
|
||||
${XARGS} ${GREP} -l 'libtool library' | ${XARGS} ${RM}
|
||||
@${FIND} ${STAGEDIR} -type f -name '*.la' | \
|
||||
|
|
Loading…
Reference in a new issue