ccache: Updated caveat with better instructions

I also added a note about `ccache` never being
used by `brew` since that can be confusing.

Closes #20594.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Christian Höltje authored and Adam Vandenberg committed 2013-06-18 16:57:26 -07:00
1 parent 1e050ac71d
commit bc2c5963c7
1 file changed
+4 -3
+4 -3
View File
@@ -36,13 +36,14 @@ class Ccache < Formula
def caveats; <<-EOS.undent
To install symlinks for compilers that will automatically use
ccache, prepend this directory to your PATH:
#{libexec}
#{opt_prefix}/libexec
If this is an upgrade and you have previously added the symlinks to
your PATH, you will need to modify it to the path specified above so
it points to the new version.
your PATH, you may need to modify it to the path specified above so
it points to the current version.
NOTE: ccache can prevent some software from compiling.
ALSO NOTE: The brew command, by design, will never use ccache.
EOS
end
end