Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148205690
D18634.id52543.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D18634.id52543.diff
View Options
Index: head/Mk/Uses/cargo.mk
===================================================================
--- head/Mk/Uses/cargo.mk
+++ head/Mk/Uses/cargo.mk
@@ -46,7 +46,7 @@
CARGO_BUILDDEP?= yes
.if ${CARGO_BUILDDEP:tl} == "yes"
-BUILD_DEPENDS+= rust>=1.31.0:lang/rust
+BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.31.0:lang/${RUST_DEFAULT}
.endif
# Location of cargo binary (default to lang/rust's Cargo binary)
Index: head/Mk/bsd.default-versions.mk
===================================================================
--- head/Mk/bsd.default-versions.mk
+++ head/Mk/bsd.default-versions.mk
@@ -88,6 +88,8 @@
PYTHON3_DEFAULT?= 3.6
# Possible values: 2.3, 2.4, 2.5
RUBY_DEFAULT?= 2.4
+# Possible values: rust, rust-nightly
+RUST_DEFAULT?= rust
# Possible values: 4.6, 4.7, 4.8
SAMBA_DEFAULT?= 4.7
# Possible values: base, openssl, openssl111, libressl, libressl-devel
Index: head/Mk/bsd.gecko.mk
===================================================================
--- head/Mk/bsd.gecko.mk
+++ head/Mk/bsd.gecko.mk
@@ -339,8 +339,7 @@
.endif
.if ${PORT_OPTIONS:MRUST} || ${MOZILLA_VER:R:R} >= 54
-BUILD_DEPENDS+= ${RUST_PORT:T}>=1.29:${RUST_PORT}
-RUST_PORT?= lang/rust
+BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.29:lang/${RUST_DEFAULT}
. if ${MOZILLA_VER:R:R} < 54
MOZ_OPTIONS+= --enable-rust
. endif
Index: head/devel/rust-cbindgen/Makefile
===================================================================
--- head/devel/rust-cbindgen/Makefile
+++ head/devel/rust-cbindgen/Makefile
@@ -12,7 +12,7 @@
LICENSE= MPL20
-RUN_DEPENDS= cargo:lang/rust
+RUN_DEPENDS= cargo:lang/${RUST_DEFAULT}
USES= cargo
USE_GITHUB= yes
Index: head/net-im/fractal/Makefile
===================================================================
--- head/net-im/fractal/Makefile
+++ head/net-im/fractal/Makefile
@@ -13,7 +13,7 @@
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
# gmake for the backtrace-sys crate
-BUILD_DEPENDS= cargo:lang/rust \
+BUILD_DEPENDS= cargo:lang/${RUST_DEFAULT} \
gmake:devel/gmake
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libgmp.so:math/gmp \
Index: head/security/kr/Makefile
===================================================================
--- head/security/kr/Makefile
+++ head/security/kr/Makefile
@@ -13,7 +13,7 @@
NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON= Uses 64bit types
-BUILD_DEPENDS= rust>=1.19.0_2:lang/rust \
+BUILD_DEPENDS= ${RUST_DEFAULT}>=1.19.0_2:lang/${RUST_DEFAULT} \
bash>0:shells/bash
USES= gmake go shebangfix
Index: head/security/suricata/Makefile
===================================================================
--- head/security/suricata/Makefile
+++ head/security/suricata/Makefile
@@ -112,7 +112,7 @@
--with-libhiredis-includes=${LOCALBASE}/include \
--with-libhiredis-libraries=${LOCALBASE}/lib
-RUST_BUILD_DEPENDS= rustc:lang/rust
+RUST_BUILD_DEPENDS= rustc:lang/${RUST_DEFAULT}
RUST_CONFIGURE_ENABLE= rust
TESTS_CONFIGURE_ENABLE= unittests
Index: head/www/cliqz/Makefile
===================================================================
--- head/www/cliqz/Makefile
+++ head/www/cliqz/Makefile
@@ -44,7 +44,7 @@
png>=1.6.34:graphics/png \
${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
- rust>=1.28:lang/rust \
+ ${RUST_DEFAULT}>=1.28:lang/${RUST_DEFAULT} \
rust-cbindgen>=0.6.2:devel/rust-cbindgen \
sqlite3>=3.24.0:databases/sqlite3 \
v4l_compat>0:multimedia/v4l_compat \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 17, 12:15 PM (10 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29780783
Default Alt Text
D18634.id52543.diff (3 KB)
Attached To
Mode
D18634: Allow overriding rust dependency
Attached
Detach File
Event Timeline
Log In to Comment