svn commit: r539672 - head/lang/rust-bootstrap
Tobias Kortkamp
tobik at FreeBSD.org
Fri Jun 19 18:53:58 UTC 2020
Author: tobik
Date: Fri Jun 19 18:53:57 2020
New Revision: 539672
URL: https://svnweb.freebsd.org/changeset/ports/539672
Log:
lang/rust-bootstrap: Keep the (amd64-native) cross compilers around
Modified:
head/lang/rust-bootstrap/Makefile
Modified: head/lang/rust-bootstrap/Makefile
==============================================================================
--- head/lang/rust-bootstrap/Makefile Fri Jun 19 17:36:51 2020 (r539671)
+++ head/lang/rust-bootstrap/Makefile Fri Jun 19 18:53:57 2020 (r539672)
@@ -2,6 +2,7 @@
PORTNAME= rust
PORTVERSION= 1.44.1
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= https://static.rust-lang.org/dist/:rust \
LOCAL/tobik:armbase \
@@ -204,11 +205,11 @@ do-build:
cargo src/librustc src/libstd
do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/rust-bootstrap
- ${INSTALL_DATA} ${WRKSRC}/build/dist/*-${_RUST_TARGET}*${EXTRACT_SUFX} \
- ${STAGEDIR}${PREFIX}/rust-bootstrap
+ @${MKDIR} ${STAGEDIR}${PREFIX}/rust-bootstrap/${FLAVOR}
+ ${INSTALL_DATA} ${WRKSRC}/build/dist/*-unknown-${OPSYS:tl}${EXTRACT_SUFX} \
+ ${STAGEDIR}${PREFIX}/rust-bootstrap/${FLAVOR}
.if ${FLAVOR:Mpowerpc64_*}
- @cd ${STAGEDIR}${PREFIX}/rust-bootstrap && for f in *${EXTRACT_SUFX}; do \
+ @cd ${STAGEDIR}${PREFIX}/rust-bootstrap/${FLAVOR} && for f in *${EXTRACT_SUFX}; do \
${MV} $$f $${f%%${EXTRACT_SUFX}}-${FLAVOR:S/_/ /:[2]}${EXTRACT_SUFX}; \
done
.endif
More information about the svn-ports-head
mailing list