Add comment, use the patch for darwin

svn path=/nixpkgs/trunk/; revision=21354
This commit is contained in:
Yury G. Kudryashov 2010-04-27 19:05:43 +00:00
parent ae8d4501b6
commit 375900a6e7
2 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,4 @@
This patch was originally added by rob. The patch is specific to nix: MacOS gcc supports -arch.
urkud have ported this patch to openssl-1.0.0 without diving into details (what
does it fix etc.)
--- a/Configure --- a/Configure
+++ b/Configure +++ b/Configure
@@ -549,9 +549,9 @@ my %table=( @@ -549,9 +549,9 @@ my %table=(

View File

@ -6,7 +6,7 @@ let
stdenv.cross; stdenv.cross;
in in
stdenv.mkDerivation rec { stdenv.mkDerivation (rec {
name = "openssl-1.0.0"; name = "openssl-1.0.0";
src = fetchurl { src = fetchurl {
@ -37,3 +37,9 @@ stdenv.mkDerivation rec {
description = "A cryptographic library that implements the SSL and TLS protocols"; description = "A cryptographic library that implements the SSL and TLS protocols";
}; };
} }
//
(if stdenv.isDarwin then {
patches = ./darwin-arch.patch;
}
else { })
)