diff options
| author | Adam Vandenberg | 2011-09-03 08:52:18 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-09-03 09:27:29 -0700 |
| commit | b06f2305e750740e6632ebeb0b97ea7222b96f95 (patch) | |
| tree | b566d088ce956474d2e2e6793cae5713cb075677 /Library/Formula | |
| parent | a26a6804b5f5c66ded01cc988b564f8dc61d80d0 (diff) | |
| download | homebrew-b06f2305e750740e6632ebeb0b97ea7222b96f95.tar.bz2 | |
boost: add --without-python option
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/boost.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb index 1f7e668ce..a2ac261bf 100644 --- a/Library/Formula/boost.rb +++ b/Library/Formula/boost.rb @@ -9,8 +9,9 @@ class Boost < Formula def options [ - ['--with-mpi', "Enables MPI support"], - ["--universal", "Build universal binaries."] + ["--with-mpi", "Enable MPI support"], + ["--universal", "Build universal binaries"], + ["--without-python", "Build without Python"] ] end @@ -21,7 +22,7 @@ class Boost < Formula end def install - if ARGV.build_universal? + if ARGV.build_universal? and not ARGV.include? "--without-python" archs = archs_for_command("python") unless archs.universal? opoo "A universal build was requested, but Python is not a universal build" @@ -63,6 +64,7 @@ class Boost < Formula "install"] args << "address-model=32_64" << "architecture=x86" << "pch=off" if ARGV.include? "--universal" + args << "--without-libraries=python" if ARGV.include? "--without-python" # we specify libdir too because the script is apparently broken system "./bootstrap.sh", "--prefix=#{prefix}", "--libdir=#{lib}" |
