aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAndrei Polushin2013-10-02 17:16:41 +0700
committerMike McQuaid2013-10-02 15:46:29 +0100
commit9ccec948c000f05b9780e07aa48f3e4f42fa9be2 (patch)
tree37e3be6697c0849463abb35c5ca4977a7510d1e5 /Library/Formula
parent820d51331fe646df774be008977c68b503fa3adc (diff)
downloadhomebrew-9ccec948c000f05b9780e07aa48f3e4f42fa9be2.tar.bz2
boost: move without-python option into bootstrap stage.
Specifying 'without-python' option for ./b2 takes precedence over all 'without-libraries' options specified previously for ./boostrap.sh Closes #22988. Signed-off-by: Andrei Polushin <polushin@gmail.com> Closes #22988. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/boost.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb
index 7f9b0eaa3..ad80fe8e2 100644
--- a/Library/Formula/boost.rb
+++ b/Library/Formula/boost.rb
@@ -115,6 +115,8 @@ class Boost < Formula
# on such systems.
bargs << "--without-libraries=log" if MacOS.version <= :snow_leopard
+ bargs << "--without-libraries=python" if build.without? 'python'
+
args = ["--prefix=#{prefix}",
"--libdir=#{lib}",
"-d2",
@@ -145,7 +147,6 @@ class Boost < Formula
end
args << "address-model=32_64" << "architecture=x86" << "pch=off" if build.universal?
- args << "--without-python" if build.without? 'python'
system "./bootstrap.sh", *bargs
system "./b2", *args