diff options
author | jbeich <jbeich@FreeBSD.org> | 2016-03-25 23:35:39 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2016-03-25 23:35:39 +0800 |
commit | 52ac9f1bdef1a1ea8f974028f2b2a0485cd8d047 (patch) | |
tree | d4d32eb61503f22854a59b23648e52bbf7246c0d /Mk | |
parent | b75bc34be4eeca9c401828f19a3d6fa98ab4f752 (diff) | |
download | freebsd-ports-gnome-52ac9f1bdef1a1ea8f974028f2b2a0485cd8d047.tar.gz freebsd-ports-gnome-52ac9f1bdef1a1ea8f974028f2b2a0485cd8d047.tar.zst freebsd-ports-gnome-52ac9f1bdef1a1ea8f974028f2b2a0485cd8d047.zip |
www/firefox: build with Rust sources
Only MP4 metadata parser have landed converted so far. Upstream enabled it
in their binaries since 45.0 while preparing to *require* Rust downstream.
https://wiki.mozilla.org/Oxidation
https://www.mail-archive.com/dev-platform%40lists.mozilla.org/msg17614.html
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.gecko.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index 79ea00c1ce4a..3cc2017fea6c 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -395,6 +395,16 @@ MOZ_OPTIONS+= --enable-pulseaudio MOZ_OPTIONS+= --disable-pulseaudio .endif +.if ${MOZILLA_VER:R:R} >= 40 +.if ${PORT_OPTIONS:MRUST} +BUILD_DEPENDS+= rustc:${PORTSDIR}/${RUST_PORT} +RUST_PORT?= lang/rust +MOZ_OPTIONS+= --enable-rust +.else +MOZ_OPTIONS+= --disable-rust +.endif +.endif + .if ${PORT_OPTIONS:MDEBUG} MOZ_OPTIONS+= --enable-debug --disable-release STRIP= # ports/184285 |