aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-05-01 14:17:14 -0700
committerAdam Vandenberg2010-05-01 14:17:14 -0700
commitcd5035705ef3e226dab8e2964efd0b6a27931527 (patch)
treebfe78b4d59210c096c5a9c0826ad87c27df5afda /Library/Formula
parent249bc84a04de3c124c7aa861527b196965ef9c70 (diff)
downloadhomebrew-cd5035705ef3e226dab8e2964efd0b6a27931527.tar.bz2
Revert portaudio change
Fixes #966.
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