aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-03 17:02:19 -0500
committerJack Nagel2013-06-03 17:03:09 -0500
commit9d7c711dd677e187cf9df2da0a6faddbe46c5a7e (patch)
treeeb42bd648703879e5fca9105cf471c7a71f6b13a /Library
parentf970e6d3a5bc1abf70577e38c540eb9c6e48a778 (diff)
downloadhomebrew-9d7c711dd677e187cf9df2da0a6faddbe46c5a7e.tar.bz2
boost: revert change to icu option
We can't rename options, it breaks upgrades.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/boost.rb6
1 files changed, 3 insertions, 3 deletions
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