portaudio: add --universal

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Shufti 2011-04-28 17:25:40 +01:00 committed by Adam Vandenberg
parent 99f26569e8
commit 9a115f297a

View file

@ -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"