From b6da9ee742755ec67742ee3f5f6706c25b9746f7 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 5 Jun 2011 09:33:16 -0700 Subject: openssl: Edit comments OpenSSL is provided mostly for Leopard, but some things on Snow Leopard need a newer version as well (such as VirtualBox.) OpenSSL will build *32-bit only* by default, even on Snow Leopard. Building Universal requires some extra effort, which has not yet been put into place. Specifically, it is not enough to do: ENV.universal_build Builds need to be run separately for 32 and 64 bit, and then lipo needs to be used to put together the library archives. --- Library/Formula/openssl.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/openssl.rb b/Library/Formula/openssl.rb index 9b6e4c9b1..8da38d09c 100644 --- a/Library/Formula/openssl.rb +++ b/Library/Formula/openssl.rb @@ -7,20 +7,20 @@ class Openssl < Formula md5 '0352932ea863bc02b056cda7c9ac5b79' keg_only :provided_by_osx, - "OpenSSL provided by Leopard is too old for newer software to link against." - - def options - [["--universal", "Build a universal binary."]] - end + "The OpenSSL provided by Leopard (0.9.7) is too old for some software." def install - ENV.universal_binary if ARGV.build_universal? - ENV.j1 # Breaks on Mac Pro system "./config", "--prefix=#{prefix}", "--openssldir=#{etc}", "zlib-dynamic", "shared" + ENV.j1 # Parallel compilation fails system "make" system "make test" system "make install" end + + def caveats; <<-EOS.undent + Note that the libraries built tend to be 32-bit only, even on Snow Leopard. + EOS + end end -- cgit v1.2.3