summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-11-20 18:57:23 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-11-20 18:57:23 +0000
commit57c670838352afc652916cb48f54b10feac16281 (patch)
tree121666aadb157f915d2b9705a777d5b4d34ecc4e /Mk
parent1bfb54119658886bda56773f280c32805ef4b089 (diff)
downloadfreebsd-ports-57c670838352afc652916cb48f54b10feac16281.zip
www/firefox: don't load system dictionaries after r472727
Bundled Hunspell may not be compatible. If users still want system dictionaries they can set spellchecker.dictionary_path in about:config.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gecko.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 2ad5d15aab3f..6c6f9ec37886 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -539,8 +539,10 @@ gecko-post-patch:
-e 's|share/mozilla/extensions|lib/xpi|g' \
${MOZSRC}/xpcom/io/nsAppFileLocationProvider.cpp \
${MOZSRC}/toolkit/xre/nsXREDirProvider.cpp
+.if ${MOZILLA_VER:R:R} < 61
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${MOZSRC}/extensions/spellcheck/hunspell/*/mozHunspell.cpp
+.endif
# handles mozilla pis scripts.
gecko-moz-pis-patch: