libpng transition?

Jack Howarth howarth at bromo.med.uc.edu
Fri Jan 21 14:57:13 PST 2011


On Fri, Jan 21, 2011 at 05:06:45PM -0500, Daniel J. Luke wrote:
> On Jan 21, 2011, at 4:09 PM, Jack Howarth wrote:
> > 
> > What insures that libpng is built before packages which depends-lib
> > on port:libpng if both are currently installed (at older versions
> > or revisions) when 'port outdated' is executed.
> 
> you've been told several times.
  
  Well if it does, the code must be buggy. When I did a 'sudo port selfupdate'
and 'sudo port outdated', pymol ended up still linked against libpng12.dylib.
I had to manually uninstall, clean, build and install pymol again against the
new libpng.
         Jack

> 
> I suggest you read the code since you don't believe it when people have told you.
> 
> 'port' walks the dependency tree.
> 
> Either libA gets built first because it is first in the expansion of 'outdated' OR when port attempts to upgrade progB it first checks the dependency tree, notices that libA has a newer version available and upgrades libA before attempting to upgrade progB
> 
> --
> Daniel J. Luke                                                                   
> +========================================================+                        
> | *---------------- dluke at geeklair.net ----------------* |                          
> | *-------------- http://www.geeklair.net -------------* |                          
> +========================================================+                        
> |   Opinions expressed are mine and do not necessarily   |                          
> |          reflect the opinions of my employer.          |                          
> +========================================================+
> 
> 


More information about the macports-dev mailing list