aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-11-04 19:33:37 +0800
committerjbeich <jbeich@FreeBSD.org>2017-11-04 19:33:37 +0800
commit26be3886ad6d9d105a62e90af086814e8c0c2359 (patch)
tree5dcd7a01c219d67d637f70f7d0b1cd16ad38a3bc /Mk
parent208f0546757fcc98bd8c173900be416085b14f44 (diff)
downloadfreebsd-ports-gnome-26be3886ad6d9d105a62e90af086814e8c0c2359.tar.gz
freebsd-ports-gnome-26be3886ad6d9d105a62e90af086814e8c0c2359.tar.zst
freebsd-ports-gnome-26be3886ad6d9d105a62e90af086814e8c0c2359.zip
www/firefox: move llvm* dep into Mk/bsd.gecko.mk
MFH: 2017Q4
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gecko.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 3852eb0d5fad..da12b285db1b 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -105,6 +105,18 @@ USES+= compiler:c++11-lang
USE_XORG+= xcb
.endif
+.if ${MOZILLA_VER:R:R} >= 56
+BUILD_DEPENDS+= llvm40>0:devel/llvm40
+MOZ_EXPORT+= BINDGEN_CFLAGS="${BINDGEN_CFLAGS}"
+# XXX bug 1341234
+. if ! ${USE_MOZILLA:M-nspr}
+BINDGEN_CFLAGS+=-isystem${LOCALBASE}/include/nspr
+. endif
+. if ! ${USE_MOZILLA:M-pixman}
+BINDGEN_CFLAGS+=-isystem${LOCALBASE}/include/pixman-1
+. endif
+.endif
+
.if ${OPSYS} == FreeBSD && ${OSREL} == 11.1
LLD_UNSAFE= yes
.endif