diff options
| author | (@ivanvc) | 2009-09-25 17:14:32 -0500 |
|---|---|---|
| committer | Max Howell | 2009-10-01 15:46:15 +0100 |
| commit | 18fdb43d8e540597b2c92cd2cdd38dbf45a54372 (patch) | |
| tree | 5ff1b9a97bd0adc3778437cb750e9b39aa99c97f /Library/Formula | |
| parent | c257c0ef4c2bb8138353b06fab8a84c8398604a6 (diff) | |
| download | homebrew-18fdb43d8e540597b2c92cd2cdd38dbf45a54372.tar.bz2 | |
Wrong architecture for OS X 10.5
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/openssl.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/openssl.rb b/Library/Formula/openssl.rb index 56b9b7154..062765942 100644 --- a/Library/Formula/openssl.rb +++ b/Library/Formula/openssl.rb @@ -9,7 +9,13 @@ class Openssl <Formula def install ENV.deparallelize - system "./Configure", "darwin64-x86_64-cc", "shared", "zlib-dynamic", "--prefix=#{prefix}" + config_flags = ["shared", "zlib-dynamic", "--prefix=#{prefix}"] + config_flags << if Hardware.is_64_bit? and MACOS_VERSION == 10.6 + "darwin64-x86_64-cc" + else + "darwin-i386-cc" + end + system "./Configure", *config_flags system "make" system "make install" end |
