GSoC - Dynamic Libraries

Rainer Müller raimue at macports.org
Wed Apr 7 14:12:11 PDT 2010


On 2010-04-07 21:44 , Jordan Schneider wrote:
> Please correct me if I'm wrong, but from looking at some Portfiles, I
> don't see any information identifying ports as being dynamic
> libraries. Would it be necessary to implement a line in the Portfiles
> for dynamic libraries flagging them as such, or would there be a
> better method of determining which ports to automatically run the
> rev-upgrade command for?

You would just look at the contents of the port, examining all files in
${prexfix}/bin/ and *.dylib and *.so in ${prefix}/lib/ or
${prefix}/libexec/.

> Alternatively, would it be foolish for rev-upgrade to treat all ports
> the same and just check all of a port's dependents for linker
> errors?

Yes, that's what I would had in mind. Most ports contain binaries
linking to some shared libraries anyway.

Rainer


More information about the macports-dev mailing list