diff options
| author | Michail Pishchagin | 2014-01-30 13:21:03 +0400 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-30 14:33:37 +0100 |
| commit | b64ea7c5169895fdeda6420ebd5a210a5f6ec6d0 (patch) | |
| tree | a93b1b9681824ac98984122e869609a9423abe98 /Library/Formula | |
| parent | 54ddf8354570dc1307f26ef756a277a8255e1537 (diff) | |
| download | homebrew-b64ea7c5169895fdeda6420ebd5a210a5f6ec6d0.tar.bz2 | |
expat: add --universal option.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/expat.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/expat.rb b/Library/Formula/expat.rb index 1d5d66980..b01176254 100644 --- a/Library/Formula/expat.rb +++ b/Library/Formula/expat.rb @@ -5,7 +5,10 @@ class Expat < Formula url 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz' sha1 'b08197d146930a5543a7b99e871cba3da614f6f0' + option :universal + def install + ENV.universal_binary if build.universal? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" |
