On Jul 26, 2007, at 8:05 PM, Xin Liu 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.
That would probably work ... (at least, it addresses the concern that I had). If you want to make a patch to have it work that way, I'd be happy to review it. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+