aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gecko.mk
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-11-04 19:33:52 +0800
committerjbeich <jbeich@FreeBSD.org>2017-11-04 19:33:52 +0800
commitfdb716157ff8f56c51172061a8e920680a2c3593 (patch)
treef77e1013b09999d2f25721f961b45cd21bc738d8 /Mk/bsd.gecko.mk
parent26be3886ad6d9d105a62e90af086814e8c0c2359 (diff)
downloadfreebsd-ports-gnome-fdb716157ff8f56c51172061a8e920680a2c3593.tar.gz
freebsd-ports-gnome-fdb716157ff8f56c51172061a8e920680a2c3593.tar.zst
freebsd-ports-gnome-fdb716157ff8f56c51172061a8e920680a2c3593.zip
www/firefox: always use specified libclang version
MFH: 2017Q4
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}