aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2011-06-05 09:33:16 -0700
committerAdam Vandenberg2011-06-05 13:10:30 -0700
commitb6da9ee742755ec67742ee3f5f6706c25b9746f7 (patch)
tree83d127675742a5dc6a4e3427cb150cc541f94f08 /Library/Formula
parent48e063d70cedf8a7ed587653aa04b024f13613fc (diff)
downloadhomebrew-b6da9ee742755ec67742ee3f5f6706c25b9746f7.tar.bz2
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.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/openssl.rb14
1 files changed, 7 insertions, 7 deletions
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