Date: Sat, 5 Jan 2019 00:41:57 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r489285 - in branches/2019Q1: Mk Mk/Uses devel/rust-cbindgen net-im/fractal security/kr security/suricata www/cliqz Message-ID: <201901050041.x050fvL2068927@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sat Jan 5 00:41:57 2019 New Revision: 489285 URL: https://svnweb.freebsd.org/changeset/ports/489285 Log: MFH: r489241 Allow overriding rust dependency Add DEFAULT_VERSIONS+=rust=rust-nightly to make.conf(5) if you want to build consumers using lang/rust-nightly. Approved by: rust (tobik) Approved by: ports-secteam (miwi) Differential Revision: https://reviews.freebsd.org/D18634 Modified: branches/2019Q1/Mk/Uses/cargo.mk branches/2019Q1/Mk/bsd.default-versions.mk branches/2019Q1/Mk/bsd.gecko.mk branches/2019Q1/devel/rust-cbindgen/Makefile branches/2019Q1/net-im/fractal/Makefile branches/2019Q1/security/kr/Makefile branches/2019Q1/security/suricata/Makefile branches/2019Q1/www/cliqz/Makefile Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/Mk/Uses/cargo.mk ============================================================================== --- branches/2019Q1/Mk/Uses/cargo.mk Sat Jan 5 00:38:38 2019 (r489284) +++ branches/2019Q1/Mk/Uses/cargo.mk Sat Jan 5 00:41:57 2019 (r489285) @@ -46,7 +46,7 @@ DISTFILES+= ${CARGO_DIST_SUBDIR}/${_crate}.tar.gz:carg 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) Modified: branches/2019Q1/Mk/bsd.default-versions.mk ============================================================================== --- branches/2019Q1/Mk/bsd.default-versions.mk Sat Jan 5 00:38:38 2019 (r489284) +++ branches/2019Q1/Mk/bsd.default-versions.mk Sat Jan 5 00:41:57 2019 (r489285) @@ -88,6 +88,8 @@ PYTHON2_DEFAULT?= 2.7 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 Modified: branches/2019Q1/Mk/bsd.gecko.mk ============================================================================== --- branches/2019Q1/Mk/bsd.gecko.mk Sat Jan 5 00:38:38 2019 (r489284) +++ branches/2019Q1/Mk/bsd.gecko.mk Sat Jan 5 00:41:57 2019 (r489285) @@ -339,8 +339,7 @@ post-patch-SNDIO-on: .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 Modified: branches/2019Q1/devel/rust-cbindgen/Makefile ============================================================================== --- branches/2019Q1/devel/rust-cbindgen/Makefile Sat Jan 5 00:38:38 2019 (r489284) +++ branches/2019Q1/devel/rust-cbindgen/Makefile Sat Jan 5 00:41:57 2019 (r489285) @@ -12,7 +12,7 @@ COMMENT= Generate C bindings from Rust code LICENSE= MPL20 -RUN_DEPENDS= cargo:lang/rust +RUN_DEPENDS= cargo:lang/${RUST_DEFAULT} USES= cargo USE_GITHUB= yes Modified: branches/2019Q1/net-im/fractal/Makefile ============================================================================== --- branches/2019Q1/net-im/fractal/Makefile Sat Jan 5 00:38:38 2019 (r489284) +++ branches/2019Q1/net-im/fractal/Makefile Sat Jan 5 00:41:57 2019 (r489285) @@ -13,7 +13,7 @@ LICENSE= GPLv3+ 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 \ Modified: branches/2019Q1/security/kr/Makefile ============================================================================== --- branches/2019Q1/security/kr/Makefile Sat Jan 5 00:38:38 2019 (r489284) +++ branches/2019Q1/security/kr/Makefile Sat Jan 5 00:41:57 2019 (r489285) @@ -13,7 +13,7 @@ BROKEN= fails to build 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 Modified: branches/2019Q1/security/suricata/Makefile ============================================================================== --- branches/2019Q1/security/suricata/Makefile Sat Jan 5 00:38:38 2019 (r489284) +++ branches/2019Q1/security/suricata/Makefile Sat Jan 5 00:41:57 2019 (r489285) @@ -112,7 +112,7 @@ REDIS_CONFIGURE_ON= --enable-hiredis \ --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 Modified: branches/2019Q1/www/cliqz/Makefile ============================================================================== --- branches/2019Q1/www/cliqz/Makefile Sat Jan 5 00:38:38 2019 (r489284) +++ branches/2019Q1/www/cliqz/Makefile Sat Jan 5 00:41:57 2019 (r489285) @@ -44,7 +44,7 @@ BUILD_DEPENDS= autoconf-2.13:devel/autoconf213 \ 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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901050041.x050fvL2068927>