lang/rust: Silence stage-qa warnings when building with SOURCES=on
PR: 243850
This commit is contained in:
parent
f4466a1e3a
commit
30e19b499b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525449
@ -233,6 +233,11 @@ post-install:
|
||||
@${FIND} ${STAGEDIR}${PREFIX}/bin -exec ${FILE} -i {} + | ${AWK} -F: \
|
||||
'/executable|sharedlib/ { print $$1 }' | ${XARGS} ${STRIP_CMD}
|
||||
|
||||
post-install-SOURCES-on:
|
||||
# Silence stage-qa warnings by sanitizing permissions on sources
|
||||
@${FIND} ${STAGEDIR}${PREFIX}/lib/rustlib/src -type f -exec ${CHMOD} \
|
||||
${SHAREMODE} {} +
|
||||
|
||||
# Note that make test does not work when rust is already installed.
|
||||
do-test:
|
||||
@cd ${WRKSRC} && \
|
||||
|
Loading…
Reference in New Issue
Block a user