27 Jul
2007
27 Jul
'07
4:37 p.m.
On 7/26/07, Xin Liu <smilerliu@gmail.com> wrote:
I think an easier and safer way of is to modify the logic in macports::upgrade{} such that when it tries to upgrade things in $portinfo(depends_build), $portinfo(depends_run) and $portinfo(depends_lib), for every bin/lib style dependency, it does one of the following: 1) if the bin/lib file does not exist, install the corresponding port (the port specified at the end of the bin/lib style); 2) if the bin/lib file exists and the corresponding port is installed, upgrade the corresponding port; 3) otherwise, do nothing.
Just an aside here, but the same logic should, presumably, apply to external "path" dependencies also. Mark A