aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTojek Anselm2010-10-17 08:52:14 -0700
committerAdam Vandenberg2010-11-02 06:56:20 -0700
commitafb92672793acb7740e7763498f832589c6e7a42 (patch)
treedb03cca2667480d3588dc728bda56ea7fe8bce28 /Library/Formula
parenta02ce4966dfd78752c6861571306dbf6d68c00d7 (diff)
downloadhomebrew-afb92672793acb7740e7763498f832589c6e7a42.tar.bz2
openssl --universal option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/openssl.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/openssl.rb b/Library/Formula/openssl.rb
index 31b4816e6..c3278cf30 100644
--- a/Library/Formula/openssl.rb
+++ b/Library/Formula/openssl.rb
@@ -8,7 +8,12 @@ class Openssl <Formula
keg_only :provided_by_osx
+ def options
+ [["--universal", "Build a universal binary."]]
+ end
+
def install
+ ENV.universal_binary if ARGV.include? "--universal"
ENV.j1 # Breaks on Mac Pro
system "./config", "--prefix=#{prefix}",
"--openssldir=#{etc}",