aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorXiyue Deng2012-11-28 22:20:31 -0800
committerMike McQuaid2012-12-01 15:17:33 +0000
commit9975fe1e126952cbb115bf658a3b7787353da93b (patch)
treee5844003f353022ae70a0654757599730c8f527c /Library/Formula
parent311472d6e35137cf3bb68a3f09a2b6f8ffef8425 (diff)
downloadhomebrew-9975fe1e126952cbb115bf658a3b7787353da93b.tar.bz2
icu4c: force to use non-clang compiler to avoid C++11 mode.
Closes #16302. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/icu4c.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/icu4c.rb b/Library/Formula/icu4c.rb
index e744caafb..4d82c208b 100644
--- a/Library/Formula/icu4c.rb
+++ b/Library/Formula/icu4c.rb
@@ -6,14 +6,15 @@ class Icu4c < Formula
version '50.1'
sha1 '9a3369c00a8be8eff935d2893849ad2eb246c0ef'
- bottle do
- sha1 'a71560ffd35869a1d56cd726e02b80ff5bbf2e5b' => :mountainlion
- sha1 '0488d374c7b3cbf9c744e8b4f036e225803de20a' => :lion
- sha1 '699a9505564a37a06c485371e1ab6fb82eedafa0' => :snowleopard
- end
+ keg_only "Conflicts; see: https://github.com/mxcl/homebrew/issues/issue/167"
option :universal
+ fails_with :clang do
+ build 421
+ cause "Icu will turn on C++11 mode when built with clang, which causes incompatibilities."
+ end
+
def install
ENV.universal_binary if build.universal?