aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gecko.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.gecko.mk')
-rw-r--r--Mk/bsd.gecko.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index da12b285db1b..477f9cef113f 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -106,7 +106,9 @@ USE_XORG+= xcb
.endif
.if ${MOZILLA_VER:R:R} >= 56
-BUILD_DEPENDS+= llvm40>0:devel/llvm40
+MESA_LLVM_VER?= 40
+BUILD_DEPENDS+= llvm${MESA_LLVM_VER}>0:devel/llvm${MESA_LLVM_VER}
+MOZ_EXPORT+= LLVM_CONFIG=llvm-config${MESA_LLVM_VER}
MOZ_EXPORT+= BINDGEN_CFLAGS="${BINDGEN_CFLAGS}"
# XXX bug 1341234
. if ! ${USE_MOZILLA:M-nspr}