On Feb 19, 2012, at 9:05 AM, Alexander Hansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2/18/12 10:22 PM, Jack Howarth wrote: >> Interestingly this seems to be solved when I move /opt/local to >> /opt/local.off. Usually fink is pretty good about not running over >> and dipping into my disabled macports directory. > > Some upstreams try to be "helpful" and detect Macports or Fink. It > might have been via one of those packages. > > I wonder if we could add something to fink that would detect >> if the build process is scanning /opt/local to flag these leaky >> packages. Jack >> > > There is already a "fink-package-precedence" script (from the package > of the same name) which can be used in the CompileScript to scan > headers and libraries for e.g. /usr/local, or /usr/X11 where we don't > want it. It doesn't work for every package, however. > > It could be extended to check for /opt/local--the penalty being that > people who stick their Fink tree in /opt/local/fink or something like > that would need a bit of extra hacking. > > Another potentially useful feature, now that I'm thinking about it, > would be also to scan any executables as to their linked library content.
f-p-p already does this for dylibs, but they have predictable extensions so that's easy. Executables typically don't have any extension so the only way to find them is to scan every installed file to see if it's executable. It might be reasonable to scan perl and python modules though since they have a known location and extension. I've looked at xml-sax-expat-pm and xml-sax-pm and don't see where they would pick up /opt/local. However, the xml-sax suite has always been a bit fragile and it's also possible that something from MacPorts changed something in the environment that got picked up. It could also be from somewhere further down the line of dependencies. There is a newer upstream xml-sax-pm that I'll look into updating to, not that that will necessarily help. Daniel ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel