aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorConstantime Kim2012-07-31 13:22:12 +0900
committerAdam Vandenberg2012-07-30 21:54:15 -0700
commit9e0594824b304669ba84e3154af2ddb6ce8a91f9 (patch)
tree328b88a204e31a44f175c8f3e6bf0ba82a70d652 /Library/Formula
parentccd9f176dbbf3c28d23bda155b99699e80814d60 (diff)
downloadhomebrew-9e0594824b304669ba84e3154af2ddb6ce8a91f9.tar.bz2
serf: universal support
Fixes #13226. Closes #13813. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/serf.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/serf.rb b/Library/Formula/serf.rb
index 39ce057b6..36c4c1c2d 100644
--- a/Library/Formula/serf.rb
+++ b/Library/Formula/serf.rb
@@ -5,7 +5,12 @@ class Serf < Formula
url 'http://serf.googlecode.com/files/serf-1.1.0.tar.bz2'
sha1 '231af70b7567a753b49df4216743010c193884b7'
+ def options
+ [['--universal', 'Builds a universal binary.']]
+ end
+
def install
+ ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"