diff options
| author | Adam Vandenberg | 2010-04-12 11:19:13 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-04-12 11:19:13 -0700 |
| commit | 8c0d3a9b3921b704025ea8686cbae6e36e34a7b6 (patch) | |
| tree | d174c50a7ad52517996cffcf9007ec62a7abab77 /Library/Formula/mod_wsgi.rb | |
| parent | 197dd9e4778aea3f1b7452707eefdec195a7b418 (diff) | |
| download | homebrew-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.rb | 7 |
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 |
