diff options
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/install.rb | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 2aadaec00..d2885c576 100755 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -2,21 +2,17 @@ require 'global' def text_for_keg_only_formula f - if f.keg_only? == :provided_by_osx - rationale = "Mac OS X already provides this program and installing another version in\nparallel can cause all kinds of trouble." - elsif f.keg_only?.kind_of? String - rationale = "The formula provides the following rationale:\n\n#{f.keg_only?.chomp}" - else - rationale = "The formula didn't provide any rationale for this." - end <<-EOS -This formula is keg-only. This means it is not symlinked into #{HOMEBREW_PREFIX}. -#{rationale} +This formula is keg-only, so it was not symlinked into #{HOMEBREW_PREFIX}. + +#{f.keg_only?} + +Generally there are no consequences of this for you. +If you build your own software and it requires this formula, you'll need +to add its lib & include paths to your build variables: -Generally there are no consequences of this for you, however if you build -your own software and it requires this formula, you may want to run this -command to link it into the Homebrew prefix: - $ brew link #{f.name} + LDFLAGS="$LDFLAGS #{f.lib}" + CPPFLAGS="$CPPFLAGS #{f.include}" EOS end |
