* Merge zlib mac patch.

svn path=/nixpkgs/trunk/; revision=1445
This commit is contained in:
Eelco Dolstra 2004-09-18 17:58:42 +00:00
parent 1ab4a9324c
commit a801ea32a8
4 changed files with 4 additions and 20 deletions

View File

@ -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];
}

View File

@ -7,4 +7,5 @@ stdenv.mkDerivation {
md5 = "ef1cb003448b4a53517b8f25adb12452";
};
configureFlags = "--shared";
patches = [./darwin.patch];
}

View File

@ -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;