svn commit: r525449 - head/lang/rust

Tobias Kortkamp tobik at FreeBSD.org
Thu Feb 6 20:51:21 UTC 2020


Author: tobik
Date: Thu Feb  6 20:51:20 2020
New Revision: 525449
URL: https://svnweb.freebsd.org/changeset/ports/525449

Log:
  lang/rust: Silence stage-qa warnings when building with SOURCES=on
  
  PR:		243850

Modified:
  head/lang/rust/Makefile

Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile	Thu Feb  6 20:44:49 2020	(r525448)
+++ head/lang/rust/Makefile	Thu Feb  6 20:51:20 2020	(r525449)
@@ -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} && \


More information about the svn-ports-all mailing list