aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/4.3/cpp
diff options
context:
space:
mode:
authorMax Howell2012-08-10 16:33:22 -0400
committerMax Howell2012-08-29 12:41:33 -0400
commitf02d81ecbf636aea7bcb842ef6350afe947a4839 (patch)
tree3c15f5e91190fd4819f48e710b569610d377e132 /Library/ENV/4.3/cpp
parent50767c60773b290eb8d203695852a6a0c21c71e4 (diff)
downloadbrew-f02d81ecbf636aea7bcb842ef6350afe947a4839.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/ENV/4.3/cpp')
0 files changed, 0 insertions, 0 deletions