aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-03-25 15:35:39 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-03-25 15:35:39 +0000
commitac99fa2243cf263ba5436a636ca50091d31867e1 (patch)
treed4d32eb61503f22854a59b23648e52bbf7246c0d /Mk
parente3eac28ac8a51ffcf277ade61b74ed4a8c905b36 (diff)
downloadports-ac99fa2243cf263ba5436a636ca50091d31867e1.tar.gz
ports-ac99fa2243cf263ba5436a636ca50091d31867e1.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gecko.mk10
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