From eaeed3eb88c727bfc34eb6d9a953f6409fcc1b77 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 13 Aug 2010 13:38:58 +0200 Subject: [PATCH] firefox: fixed to disable "Necko" WiFi scanning when there are no wireless-tools (see note) Note: The engine depends on iwlib! --- www/firefox/firefox.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/www/firefox/firefox.conf b/www/firefox/firefox.conf index 9aa1c1bca..6bb9daad5 100644 --- a/www/firefox/firefox.conf +++ b/www/firefox/firefox.conf @@ -52,6 +52,15 @@ if pkginstalled libsvg-cairo ; then EOT fi + +# wireless support +if ! pkginstalled -f wireless-tools; then + cat <<-EOT >> .mozconfig + + ac_add_options --disable-necko-wifi + + EOT +fi } hook_add preconf 4 "firefox_config"