diff options
| author | Adam Vandenberg | 2011-03-19 09:50:26 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-19 09:50:26 -0700 |
| commit | 535d817fc508dd1256216e79cbde0a356a33e77f (patch) | |
| tree | 95cf788e7d295db67ff7c2fe23f6b2cdf04b1611 /Library/Formula | |
| parent | 0ac8f14681f0ea121bd0b68845c32752703bc2e6 (diff) | |
| download | homebrew-535d817fc508dd1256216e79cbde0a356a33e77f.tar.bz2 | |
rdiff-backup: use new arch methods
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rdiff-backup.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/rdiff-backup.rb b/Library/Formula/rdiff-backup.rb index ee2afd909..c92d00053 100644 --- a/Library/Formula/rdiff-backup.rb +++ b/Library/Formula/rdiff-backup.rb @@ -11,9 +11,8 @@ class RdiffBackup < Formula # Find the arch for the Python we are building against. # We remove 'ppc' support, so we can pass Intel-optimized CFLAGS. archs = archs_for_command("python") - archs.delete :ppc7400 - archs.delete :ppc64 - ENV['ARCHFLAGS'] = archs.collect{ |a| "-arch #{a}" }.join(' ') + archs.remove_ppc! + ENV['ARCHFLAGS'] = archs.as_arch_flags system "python", "setup.py", "--librsync-dir=#{prefix}", "build" |
