svn commit: r556053 - head/lang/rust

Mikael Urankar mikael at FreeBSD.org
Sun Nov 22 13:51:15 UTC 2020


Author: mikael
Date: Sun Nov 22 13:51:14 2020
New Revision: 556053
URL: https://svnweb.freebsd.org/changeset/ports/556053

Log:
  lang/rust: exclude SOURCES in nightly build
  
  Exclude SOURCES in nightly build as it tries to download cargo crates in
  install phase and it causes build breakage

Modified:
  head/lang/rust/Makefile

Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile	Sun Nov 22 13:40:35 2020	(r556052)
+++ head/lang/rust/Makefile	Sun Nov 22 13:51:14 2020	(r556053)
@@ -52,6 +52,9 @@ CONFLICTS_INSTALL?=	rust-nightly
 OPTIONS_DEFINE=		DOCS GDB SOURCES WASM
 OPTIONS_DEFAULT=	SOURCES WASM
 OPTIONS_EXCLUDE=	DOCS # https://github.com/rust-lang/rust/issues/76526
+.if defined(NIGHTLY_DATE)
+OPTIONS_EXCLUDE+=	SOURCES
+.endif
 
 GDB_DESC=	Install ports gdb (necessary for debugging rust programs)
 SOURCES_DESC=	Install source files


More information about the svn-ports-all mailing list