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.
This commit is contained in:
parent
a166d7c608
commit
3e12e7ce1b
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue