diff options
| author | Max Howell | 2012-08-10 16:33:22 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-29 12:41:33 -0400 |
| commit | f02d81ecbf636aea7bcb842ef6350afe947a4839 (patch) | |
| tree | 3c15f5e91190fd4819f48e710b569610d377e132 /Library/ENV/4.3/cpp | |
| parent | 50767c60773b290eb8d203695852a6a0c21c71e4 (diff) | |
| download | brew-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
