aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gecko.mk
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-05-02 11:43:15 +0800
committerjbeich <jbeich@FreeBSD.org>2017-05-02 11:43:15 +0800
commit3751fe6404e5f5a609941785877dad2609e85dfc (patch)
tree7840ed2540583992e90d73af91731903df0ef0ef /Mk/bsd.gecko.mk
parentab3087015f9b127b9a76b62523b60cfc29cb4f3c (diff)
downloadfreebsd-ports-gnome-3751fe6404e5f5a609941785877dad2609e85dfc.tar.gz
freebsd-ports-gnome-3751fe6404e5f5a609941785877dad2609e85dfc.tar.zst
freebsd-ports-gnome-3751fe6404e5f5a609941785877dad2609e85dfc.zip
gecko: unbreak RUST=on with cargo >= 0.18
error[E0463]: can't find crate for `cheddar` --> media/libstagefright/binding/mp4parse_capi/build.rs:1:1 | 1 | extern crate cheddar; | ^^^^^^^^^^^^^^^^^^^^^ can't find crate error: aborting due to previous error fatal runtime error: failed to initiate panic, error 5 error: Could not compile `mp4parse_capi`. Caused by: process didn't exit successfully: `/usr/local/bin/rustc --crate-name build_script_build media/libstagefright/binding/mp4parse_capi/build.rs --crate-type bin --emit=dep-info,link -C opt-level=2 -C debuginfo=2 -C metadata=13cd8b0152b68b4e -C extra-filename=-13cd8b0152b68b4e--out-dir obj-x86_64-unknown-freebsd12.0/toolkit/library/rust/./release/build/mp4parse_capi-13cd8b0152b68b4e -L dependency=obj-x86_64-unknown-freebsd12.0/toolkit/library/rust/./release/deps` (exit code: 1) Build failed, waiting for other jobs to finish... error: build failed
Diffstat (limited to 'Mk/bsd.gecko.mk')
-rw-r--r--Mk/bsd.gecko.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 21cecb4761f9..6660465a4ae5 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -391,7 +391,7 @@ post-patch-SNDIO-on:
.if ${PORT_OPTIONS:MRUST}
BUILD_DEPENDS+= rustc:${RUST_PORT}
. if ${MOZILLA_VER:R:R} >= 51
-BUILD_DEPENDS+= cargo:devel/cargo
+BUILD_DEPENDS+= cargo>=0.16.0:devel/cargo
. endif
RUST_PORT?= lang/rust
MOZ_OPTIONS+= --enable-rust