Date: Thu, 6 Feb 2020 20:51:20 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525449 - head/lang/rust Message-ID: <202002062051.016KpK65097685@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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} && \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002062051.016KpK65097685>