From 35334bfb43ddda04f644ab17ddf95a5e6bf92b19 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 19 Mar 2011 09:50:37 -0700 Subject: uwsgi: use new arch methods --- Library/Formula/uwsgi.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library') diff --git a/Library/Formula/uwsgi.rb b/Library/Formula/uwsgi.rb index d1d4da830..02ec7bf52 100644 --- a/Library/Formula/uwsgi.rb +++ b/Library/Formula/uwsgi.rb @@ -6,13 +6,11 @@ class Uwsgi < Formula md5 'eab88c552e4c7c4ecb5188cdefc43390' def install - # Find the archs of the Python we are building against. + # 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 - - flags = archs.collect{ |a| "-arch #{a}" }.join(' ') + archs.remove_ppc! + flags = archs.as_arch_flags ENV.append 'CFLAGS', flags ENV.append 'LDFLAGS', flags -- cgit v1.2.3