mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
* Merge zlib mac patch.
svn path=/nixpkgs/trunk/; revision=1445
This commit is contained in:
parent
1ab4a9324c
commit
a801ea32a8
@ -1,12 +0,0 @@
|
||||
{stdenv, fetchurl, patch}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "zlib-1.2.1";
|
||||
src = fetchurl {
|
||||
url = http://www.gzip.org/zlib/zlib-1.2.1.tar.gz;
|
||||
md5 = "ef1cb003448b4a53517b8f25adb12452";
|
||||
};
|
||||
configureFlags = "--shared";
|
||||
patches = [./darwin.patch];
|
||||
buildInputs = [patch];
|
||||
}
|
@ -7,4 +7,5 @@ stdenv.mkDerivation {
|
||||
md5 = "ef1cb003448b4a53517b8f25adb12452";
|
||||
};
|
||||
configureFlags = "--shared";
|
||||
patches = [./darwin.patch];
|
||||
}
|
||||
|
@ -508,14 +508,9 @@ rec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
zlib = if stdenv.system == "powerpc-darwin" then
|
||||
(import ../development/libraries/zlib-mac-fix) {
|
||||
inherit fetchurl stdenv;
|
||||
}
|
||||
else
|
||||
(import ../development/libraries/zlib) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
zlib = (import ../development/libraries/zlib) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
libjpeg = (import ../development/libraries/libjpeg) {
|
||||
inherit fetchurl stdenv;
|
||||
|
Loading…
Reference in New Issue
Block a user