aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mod_wsgi.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-12 11:19:13 -0700
committerAdam Vandenberg2010-04-12 11:19:13 -0700
commit8c0d3a9b3921b704025ea8686cbae6e36e34a7b6 (patch)
treed174c50a7ad52517996cffcf9007ec62a7abab77 /Library/Formula/mod_wsgi.rb
parent197dd9e4778aea3f1b7452707eefdec195a7b418 (diff)
downloadhomebrew-8c0d3a9b3921b704025ea8686cbae6e36e34a7b6.tar.bz2
Update sqlite to 3.6.23.1
Diffstat (limited to 'Library/Formula/mod_wsgi.rb')
-rw-r--r--Library/Formula/mod_wsgi.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/mod_wsgi.rb b/Library/Formula/mod_wsgi.rb
index a4200e79b..27cba47a2 100644
--- a/Library/Formula/mod_wsgi.rb
+++ b/Library/Formula/mod_wsgi.rb
@@ -20,15 +20,16 @@ class ModWsgi <Formula
# Find the archs of the Python we are building against.
# We remove 'ppc' support, so we can pass Intel-optimized CFLAGS.
- archs = archs_for_command("python").collect{ |arch| "-arch #{arch}" }
+ archs = archs_for_command("python")
archs.delete :ppc7400
archs.delete :ppc64
inreplace 'Makefile' do |s|
s.gsub! "-Wc,'-arch x86_64' -Wc,'-arch i386' -Wc,'-arch ppc7400'",
- archs.collect{ |a| "-Wc,'#{a}'" }.join(' ')
+ archs.collect{ |a| "-Wc,'-arch #{a}'" }.join(' ')
- s.gsub! "-arch x86_64 -arch i386 -arch ppc7400", archs*' '
+ s.gsub! "-arch x86_64 -arch i386 -arch ppc7400",
+ archs.collect{ |a| "-arch #{a}" }.join(' ')
# --libexecdir parameter to ./configure isn't changing this, so cram it in
# This will be where the Apache module ends up, and we don't want to touch