[packages/firefox] add bcond for enabling legacy extensions support

atler atler at pld-linux.org
Sat Aug 18 17:21:16 CEST 2018


commit 52c892567377e21e3bbd1a238f413a358ca0b9b4
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Aug 18 17:20:56 2018 +0200

    add bcond for enabling legacy extensions support

 firefox.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/firefox.spec b/firefox.spec
index ae02d4f..5e41d70 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -14,6 +14,7 @@
 %bcond_without	system_icu	# build without system ICU
 %bcond_with	system_cairo	# build with system cairi (not supported in 60.0)
 %bcond_with	clang		# build using Clang/LLVM
+%bcond_with	legacy_exts	# build with legacy extensions support
 
 # On updating version, grab CVE links from:
 # https://www.mozilla.org/security/known-vulnerabilities/firefox.html
@@ -2113,6 +2114,9 @@ ac_add_options --with-system-zlib
 ac_add_options --with-x
 # Workaround for mozbz#1341234
 ac_add_options BINDGEN_CFLAGS="$(pkg-config nspr pixman-1 --cflags)"
+%if %{with legacy_exts}
+ac_add_options "MOZ_ALLOW_LEGACY_EXTENSIONS=1"
+%endif
 EOF
 
 %if %{with pgo}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/52c892567377e21e3bbd1a238f413a358ca0b9b4



More information about the pld-cvs-commit mailing list