Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2020 18:53:57 +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: r539672 - head/lang/rust-bootstrap
Message-ID:  <202006191853.05JIrvYP081319@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006191853.05JIrvYP081319>