summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJames Cook <james.cook@utoronto.ca>2014-02-06 14:41:54 -0800
committerJames Cook <james.cook@utoronto.ca>2014-02-06 14:41:54 -0800
commitd7eb849349972656fc99e1b8f56286aa10cf7836 (patch)
tree9aa592cdeacd0fc22644524b7bbe28298dd4ba3c /pkgs
parentce5f84ce567e735b4f6b9cd3ea69264ed98ab109 (diff)
downloadnixlib-d7eb849349972656fc99e1b8f56286aa10cf7836.tar
nixlib-d7eb849349972656fc99e1b8f56286aa10cf7836.tar.gz
nixlib-d7eb849349972656fc99e1b8f56286aa10cf7836.tar.bz2
nixlib-d7eb849349972656fc99e1b8f56286aa10cf7836.tar.lz
nixlib-d7eb849349972656fc99e1b8f56286aa10cf7836.tar.xz
nixlib-d7eb849349972656fc99e1b8f56286aa10cf7836.tar.zst
nixlib-d7eb849349972656fc99e1b8f56286aa10cf7836.zip
firefox: update to 27.0.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/browsers/firefox/default.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/default.nix b/pkgs/applications/networking/browsers/firefox/default.nix
index 27363482be09..9869e24ce5a2 100644
--- a/pkgs/applications/networking/browsers/firefox/default.nix
+++ b/pkgs/applications/networking/browsers/firefox/default.nix
@@ -17,9 +17,9 @@ assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
 
 rec {
 
-  firefoxVersion = "26.0";
+  firefoxVersion = "27.0";
 
-  xulVersion = "26.0"; # this attribute is used by other packages
+  xulVersion = "27.0"; # this attribute is used by other packages
 
 
   src = fetchurl {
@@ -29,7 +29,7 @@ rec {
         # Fall back to this url for versions not available at releases.mozilla.org.
         "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"
     ];
-    sha1 = "f7c6642d6f62aea8d4eced48dd27aba0634edcd5";
+    sha1 = "ec2031385237e30be829817ac79caa8e80cc2a14";
   };
 
   commonConfigureFlags =
@@ -162,13 +162,20 @@ rec {
       "SYSTEM_LIBXUL=1"
     ];
 
-    # Hack to work around make's idea of -lbz2 dependency
+    # Because preConfigure runs configure from a subdirectory.
+    configureScript = "../configure";
+
     preConfigure =
       ''
+        # Hack to work around make's idea of -lbz2 dependency
         find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
           stdenv.lib.concatStringsSep ":"
             (map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
         }' ';'
+
+        # Building directly in the main source directory is not allowed.
+        mkdir obj_dir
+        cd obj_dir
       '';
 
     postInstall =