aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGasol Wu2012-06-26 12:49:00 +0800
committerAdam Vandenberg2012-06-29 10:36:51 -0700
commit717f0fe673e015c1be0b0f248c69ad73b4ad6b2c (patch)
tree1bdd0b46dd9bc5fd3807d977df5eb6c7ff3cb0df /Library
parentf69ab5244bb7e179ce1db7e62b34250b1958a304 (diff)
downloadhomebrew-717f0fe673e015c1be0b0f248c69ad73b4ad6b2c.tar.bz2
libevent: add --universal option
Closes #13032. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libevent.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/libevent.rb b/Library/Formula/libevent.rb
index cb44fd51a..93ead8b45 100644
--- a/Library/Formula/libevent.rb
+++ b/Library/Formula/libevent.rb
@@ -25,10 +25,12 @@ class Libevent < Formula
end
def options
- [['--enable-manpages', "Install the libevent manpages"]]
+ [["--enable-manpages", "Install the libevent manpages"],
+ ["--universal", "Builds a universal binary"]]
end
def install
+ ENV.universal_binary if ARGV.build_universal?
ENV.j1
system "./autogen.sh" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}"