Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

boost: --use-system-layout option added

  • Loading branch information...
commit b7d5b8f51ea2e8f0a2139a4a1d98164c39530fa0 1 parent 5e934e2
@nkakuev authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 Library/Formula/boost.rb
7 Library/Formula/boost.rb
@@ -4,6 +4,10 @@ def needs_universal_python?
build.universal? and not build.include? "without-python"
+def boost_layout
+ (build.include? "use-system-layout") ? "system" : "tagged"
class UniversalPython < Requirement
def message; <<-EOS.undent
A universal build was requested, but Python is not a universal build
@@ -34,6 +38,7 @@ class Boost < Formula
option 'with-mpi', 'Enable MPI support'
option 'without-python', 'Build without Python'
option 'with-icu', 'Build regexp engine with icu support'
+ option 'use-system-layout', 'Use system layout instead of tagged'
depends_on if needs_universal_python?
depends_on "icu4c" if build.include? "with-icu"
@@ -79,7 +84,7 @@ def install
args = ["--prefix=#{prefix}",
- "--layout=tagged",
+ "--layout=#{boost_layout}",
Please sign in to comment.
Something went wrong with that request. Please try again.