aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2009-12-01 17:39:24 -0800
committerMax Howell2009-12-12 16:24:19 +0000
commit7c470f193da79accb4739ea0d371564667c6e1b7 (patch)
tree49171b825ed00efbe391fad0a18de58c7cf1892a /Library/Formula/python.rb
parent6fa1970a88528dd8be83ee0f8909fd782a2cf6ba (diff)
downloadhomebrew-7c470f193da79accb4739ea0d371564667c6e1b7.tar.bz2
Reformat Python, use post-fix if
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb12
1 files changed, 2 insertions, 10 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 5bc2e9946..20469bb06 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -22,22 +22,14 @@ class Python <Formula
def install
args = ["--prefix=#{prefix}"]
-
- if ARGV.include? '--framework'
- args << "--enable-framework"
- end
-
- if ARGV.include? '--intel'
- args << "--with-universal-archs=intel --enable-universalsdk=/"
- end
+ args << "--enable-framework" if ARGV.include? '--framework'
+ args << "--with-universal-archs=intel --enable-universalsdk=/" if ARGV.include? '--intel'
# Speed up creation of libpython.a, backported from Unladen Swallow:
# http://code.google.com/p/unladen-swallow/source/detail?r=856
inreplace "Makefile.pre.in", "$(AR) cr", "$(AR) cqS"
system "./configure", *args
-
-
system "make"
system "make install"