diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mod_python.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/mod_python.rb b/Library/Formula/mod_python.rb index b78c27ccd..3c3bb9cbf 100644 --- a/Library/Formula/mod_python.rb +++ b/Library/Formula/mod_python.rb @@ -23,17 +23,17 @@ class ModPython < Formula end def install - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" # Explicitly set the arch in CFLAGS so the PSPModule will build against system Python # We remove 'ppc' support, so we can pass Intel-optimized CFLAGS. archs = archs_for_command("python") - archs.delete :ppc7400 - archs.delete :ppc64 - ENV.append_to_cflags archs.collect{ |a| "-arch #{a}" }.join(' ') + archs.remove_ppc! + ENV.append_to_cflags archs.as_arch_flags + # Don't install to the system Apache libexec folder inreplace 'Makefile' do |s| - # Don't install to the system Apache libexec folder s.change_make_var! "LIBEXECDIR", libexec end |
