diff options
| author | Shaun Jackman | 2014-08-27 12:53:41 -0700 |
|---|---|---|
| committer | Jack Nagel | 2014-08-28 17:01:38 -0500 |
| commit | 6ebe4f2c38ac6814d381015ba65b5695f9f1fe6a (patch) | |
| tree | c37fb1f0716e8a4b1b9c8d7e134f7cbd94e2a342 | |
| parent | 59543b953494479ad8699114d611f9ac7d244dc3 (diff) | |
| download | homebrew-6ebe4f2c38ac6814d381015ba65b5695f9f1fe6a.tar.bz2 | |
gettext, readline: Add keg_only :shadowed_by_osx
Closes #31951.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/gettext.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/readline.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/formula_support.rb | 6 |
3 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/gettext.rb b/Library/Formula/gettext.rb index 2ed65c061..0d7103aad 100644 --- a/Library/Formula/gettext.rb +++ b/Library/Formula/gettext.rb @@ -12,7 +12,7 @@ class Gettext < Formula sha1 "0cf03a50241ea2383e8140cf974c5b0b5533f7b2" => :lion end - keg_only "OS X provides the BSD gettext library and some software gets confused if both are in the library path." + keg_only :shadowed_by_osx, "OS X provides the BSD gettext library and some software gets confused if both are in the library path." option :universal diff --git a/Library/Formula/readline.rb b/Library/Formula/readline.rb index 3902d0a37..ed0ea5c82 100644 --- a/Library/Formula/readline.rb +++ b/Library/Formula/readline.rb @@ -14,7 +14,7 @@ class Readline < Formula sha1 "56a126196db602b61f73cb1152a257bb04148fcf" => :lion end - keg_only <<-EOS + keg_only :shadowed_by_osx, <<-EOS OS X provides the BSD libedit library, which shadows libreadline. In order to prevent conflicts when programs look for libreadline we are defaulting this GNU Readline installation to keg-only. diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index aa3174219..12ca38e66 100644 --- a/Library/Homebrew/formula_support.rb +++ b/Library/Homebrew/formula_support.rb @@ -30,6 +30,12 @@ class KegOnlyReason #{@explanation} EOS + when :shadowed_by_osx then <<-EOS.undent + Mac OS X provides similar software, and installing this software in + parallel can cause all kinds of trouble. + + #{@explanation} + EOS when :provided_pre_mountain_lion then <<-EOS.undent Mac OS X already provides this software in versions before Mountain Lion. |
