firefox: update to 27.0.
This commit is contained in:
parent
ce5f84ce56
commit
d7eb849349
|
@ -17,9 +17,9 @@ assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
|
||||||
|
|
||||||
rec {
|
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 {
|
src = fetchurl {
|
||||||
|
@ -29,7 +29,7 @@ rec {
|
||||||
# Fall back to this url for versions not available at releases.mozilla.org.
|
# 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"
|
"http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"
|
||||||
];
|
];
|
||||||
sha1 = "f7c6642d6f62aea8d4eced48dd27aba0634edcd5";
|
sha1 = "ec2031385237e30be829817ac79caa8e80cc2a14";
|
||||||
};
|
};
|
||||||
|
|
||||||
commonConfigureFlags =
|
commonConfigureFlags =
|
||||||
|
@ -162,13 +162,20 @@ rec {
|
||||||
"SYSTEM_LIBXUL=1"
|
"SYSTEM_LIBXUL=1"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Hack to work around make's idea of -lbz2 dependency
|
# Because preConfigure runs configure from a subdirectory.
|
||||||
|
configureScript = "../configure";
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
|
# Hack to work around make's idea of -lbz2 dependency
|
||||||
find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
|
find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
|
||||||
stdenv.lib.concatStringsSep ":"
|
stdenv.lib.concatStringsSep ":"
|
||||||
(map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
|
(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 =
|
postInstall =
|
||||||
|
|
Loading…
Reference in New Issue