diff options
| -rw-r--r-- | Library/Formula/serf.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/serf.rb b/Library/Formula/serf.rb index ac3fcfb8f..7f293ae18 100644 --- a/Library/Formula/serf.rb +++ b/Library/Formula/serf.rb @@ -5,15 +5,13 @@ class Serf < Formula url 'http://serf.googlecode.com/files/serf-1.1.0.tar.bz2' sha1 '231af70b7567a753b49df4216743010c193884b7' + option :universal + depends_on :automake depends_on :libtool - def options - [['--universal', 'Builds a universal binary.']] - end - def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? if MacOS.mountain_lion? # Fixes a bad path returned by `apr-1-config --cpp` on ML. # https://github.com/mxcl/homebrew/issues/13586 |
