diff options
| author | Shufti | 2011-04-28 17:25:40 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-28 12:57:40 -0700 |
| commit | d221c05c68fad0dc84cbdceff0f4668f01b13142 (patch) | |
| tree | 7c08ea9619faeab52f5a89e1a9cf599b2aa9e200 /Library | |
| parent | 4b58e9602f7aa7c95d174b294ce2e3c2f742fbf9 (diff) | |
| download | homebrew-d221c05c68fad0dc84cbdceff0f4668f01b13142.tar.bz2 | |
portaudio: add --universal
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/portaudio.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/portaudio.rb b/Library/Formula/portaudio.rb index 9f31207f3..a2b5170e6 100644 --- a/Library/Formula/portaudio.rb +++ b/Library/Formula/portaudio.rb @@ -9,6 +9,10 @@ class Portaudio < Formula fails_with_llvm + def options + [["--universal", "Build a universal binary."]] + end + # Use the MacPort patches that fix compiling against newer OS X SDKs def patches {:p0 => [ @@ -19,6 +23,8 @@ class Portaudio < Formula end def install + ENV.universal_binary if ARGV.build_universal? + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" system "make install" |
