aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2009-12-21 23:30:51 +0000
committerMax Howell2009-12-21 23:31:19 +0000
commitf5a36e5e5a271de547a09f9650545830b964bdd9 (patch)
treedbf96d59f2a86fd845e36e943ee4da71865f3903 /Library/Formula
parent44a7327425267f957cbc401c827b6ddd4b2d1699 (diff)
downloadhomebrew-f5a36e5e5a271de547a09f9650545830b964bdd9.tar.bz2
Fix --intel switch
Also renamed --universal, but the --intel switch still works.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/python.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 20469bb06..0f96ab09c 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -11,7 +11,7 @@ class Python <Formula
def options
[
["--framework", "Do a 'Framework' build instead of a UNIX-style build."],
- ["--intel", "Build for both 32 & 64 bit Intel."]
+ ["--universal", "Build for both 32 & 64 bit Intel."]
]
end
@@ -23,7 +23,8 @@ class Python <Formula
def install
args = ["--prefix=#{prefix}"]
args << "--enable-framework" if ARGV.include? '--framework'
- args << "--with-universal-archs=intel --enable-universalsdk=/" if ARGV.include? '--intel'
+ args << "--with-universal-archs=intel" << "--enable-universalsdk=/" if ARGV.include? '--universal' \
+ or ARGV.include? '--intel' # the old flag, preserved for back-compat
# Speed up creation of libpython.a, backported from Unladen Swallow:
# http://code.google.com/p/unladen-swallow/source/detail?r=856