From 9d7c711dd677e187cf9df2da0a6faddbe46c5a7e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 3 Jun 2013 17:02:19 -0500 Subject: boost: revert change to icu option We can't rename options, it breaks upgrades. --- Library/Formula/boost.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb index 4fa41c24f..b4027a57b 100644 --- a/Library/Formula/boost.rb +++ b/Library/Formula/boost.rb @@ -29,13 +29,13 @@ class Boost < Formula option :universal option 'with-mpi', 'Enable MPI support' - option 'with-icu4c', 'Build regexp engine with icu support' + option 'with-icu', 'Build regexp engine with icu support' option 'with-c++11', 'Compile using Clang, std=c++11 and stdlib=libc++' if MacOS.version >= :lion option 'use-system-layout', 'Use system layout instead of tagged' depends_on :python => :recommended depends_on UniversalPython if build.universal? and build.with? "python" - depends_on "icu4c" => :optional + depends_on "icu4c" if build.with? 'icu' depends_on MPIDependency.new(:cc, :cxx) if build.with? "mpi" fails_with :llvm do @@ -77,7 +77,7 @@ class Boost < Formula bargs << "--with-toolset=clang" if build.with? "c++11" - if build.with? 'icu4c' + if build.with? 'icu' icu4c_prefix = Formula.factory('icu4c').opt_prefix bargs << "--with-icu=#{icu4c_prefix}" else -- cgit v1.2.3