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.
urkud have ported this patch to openssl-1.0.0 without diving into details (what
does it fix etc.)
The patch is specific to nix: MacOS gcc supports -arch.
--- a/Configure
+++ b/Configure
@@ -549,9 +549,9 @@ my %table=(

View file

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