diff options
Diffstat (limited to 'Library/Formula')
| -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" |
