diff options
| author | Xiyue Deng | 2012-10-28 00:38:09 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-11-25 11:05:51 -0800 |
| commit | 59e1af718baefa1348a715126efc9161c3fd29c1 (patch) | |
| tree | c48d172f3f97869c8a8a9b788ceffab07fe76a8f /Library/Formula | |
| parent | 00afb999ce6901d89abd78cccd86751db77f01cf (diff) | |
| download | homebrew-59e1af718baefa1348a715126efc9161c3fd29c1.tar.bz2 | |
R: use #{opt_prefix} in caveats
* This avoids broken symlink on upgrade.
Closes #15712.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/r.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/r.rb b/Library/Formula/r.rb index b25a4d4f9..6696a3760 100644 --- a/Library/Formula/r.rb +++ b/Library/Formula/r.rb @@ -66,11 +66,11 @@ class R < Formula def caveats; <<-EOS.undent R.framework was installed to: - #{prefix}/R.framework + #{opt_prefix}/R.framework To use this Framework with IDEs such as RStudio, it must be linked to the standard OS X location: - sudo ln -s "#{prefix}/R.framework" /Library/Frameworks + sudo ln -s "#{opt_prefix}/R.framework" /Library/Frameworks To enable rJava support, run the following command: R CMD javareconf JAVA_CPPFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers |
