diff options
| author | Adam Vandenberg | 2011-03-19 09:50:14 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-19 09:50:14 -0700 |
| commit | 0ac8f14681f0ea121bd0b68845c32752703bc2e6 (patch) | |
| tree | 4a5b1832af04668428fab611eaefe160c85716c4 /Library | |
| parent | 55ec0b33053dda7c1d73035e89f5d7655b13e74d (diff) | |
| download | homebrew-0ac8f14681f0ea121bd0b68845c32752703bc2e6.tar.bz2 | |
mod_python: use new arch methods
Diffstat (limited to 'Library')
| -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 |
