diff options
| author | Dave Cottlehuber | 2012-04-17 10:34:14 +0200 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-04-18 09:44:35 -0700 |
| commit | 7cd8199170eef2d411b9ab05bb588e20690cfff1 (patch) | |
| tree | 7cda10c4d4bc835e9b686c34209b76589f3b2b44 /Library | |
| parent | 058528266107c9d6697196ae24e3932f45199233 (diff) | |
| download | homebrew-7cd8199170eef2d411b9ab05bb588e20690cfff1.tar.bz2 | |
OpenSSL: enable 64-bit support
Build 64-bit by default where appropriate.
Closes #11701.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/openssl.rb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Library/Formula/openssl.rb b/Library/Formula/openssl.rb index e6eaf3b94..f6813da48 100644 --- a/Library/Formula/openssl.rb +++ b/Library/Formula/openssl.rb @@ -9,18 +9,19 @@ class Openssl < Formula "The OpenSSL provided by Leopard (0.9.7) is too old for some software." def install - system "./config", "--prefix=#{prefix}", + args = [ "./Configure", + "--prefix=#{prefix}", "--openssldir=#{etc}/openssl", "zlib-dynamic", "shared" + ] + + args << (MacOS.prefer_64_bit? ? "darwin64-x86_64-cc" : "darwin-i386-cc") + + system "perl", *args ENV.deparallelize # Parallel compilation fails system "make" system "make test" system "make install MANDIR=#{man} MANSUFFIX=ssl" end - - def caveats; <<-EOS.undent - Note that the libraries built tend to be 32-bit only, even on Snow Leopard. - EOS - end end |
