aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2012-08-10 16:33:22 -0400
committerMax Howell2012-08-29 12:41:33 -0400
commit0c74cd92cf02242b40d447e362273a9b63ed7170 (patch)
tree007a5b7e7869ae020ea03f396a9fa2a1a8eb846b /Library/Formula
parent8c87b475a977afe1e32f617c3c748a3ab54e965d (diff)
downloadhomebrew-0c74cd92cf02242b40d447e362273a9b63ed7170.tar.bz2
Create active symlinks for installed formula
Similar to the LinkedKegs record, we write a symlink for installed kegs to PREFIX/opt. Unlike the linked-keg record, unlinking doesn't remove the link, only uninstalling, and keg-only formula have a record too. The reason for this addition is so that formula that depend on keg-only formula can build against the opt directory and not the cellar keg. Thus surviving upgrades. To enforce this fix_install_names and built were adapted to use the opt path. Standard kegs also create an opt symlink so that caveats can now refer to the opt directory and thus provide steps that survive upgrades too. Thus the choice of /opt. It is short, neat and the right choice: POSIX dictates that opt is for stand-alone prefixes of software.
Diffstat (limited to 'Library/Formula')
0 files changed, 0 insertions, 0 deletions