From 9ccec948c000f05b9780e07aa48f3e4f42fa9be2 Mon Sep 17 00:00:00 2001 From: Andrei Polushin Date: Wed, 2 Oct 2013 17:16:41 +0700 Subject: 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 Closes #22988. Signed-off-by: Mike McQuaid --- Library/Formula/boost.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3