aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/portaudio.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/portaudio.rb b/Library/Formula/portaudio.rb
index 37f4885ea..fb633b04d 100644
--- a/Library/Formula/portaudio.rb
+++ b/Library/Formula/portaudio.rb
@@ -12,7 +12,9 @@ class Portaudio <Formula
# remove arch flags else we get errors like:
# lipo: can't figure out the architecture type
- inreplace "Makefile", /-arch (i386|x86_64|ppc|ppc64)/, ""
+ ['-arch x86_64', '-arch ppc64', '-arch i386', '-arch ppc'].each do |arch|
+ inreplace "Makefile", arch, ""
+ end
system "make install"
end