Oh that's not good. Non-deterministic ports are a bad thing. Any sort of auto-detection like this should be explicitly declared, via switches to ./configure telling it not to use the optional library by default, with a variant that adds a dependency on that library and changes the ./configure switches as appropriate.

The next time you find a non-deterministic port, I would recommend emailing the maintainer about it.

On Jan 31, 2007, at 4:47 AM, Emmanuel Hainry wrote:

However, it requires macports to become deterministic... At the moment,

if you install the same packages on two identic machines, you can obtain

different files installed depending on the order in which the packages

are installed (for example, installing flac before libsndfile makes

libsndfile compile with flac support). I find this undeterministic

behaviour to be a good thing: it makes it possible for some ports to

take into account some particular libraries I have made personal

portfiles for without requiring to edit the portfiles of every

dependents programs, but it makes the updating a bit hazardous.


-- 
Kevin Ballard
http://kevin.sb.org
eridius@macports.org
http://www.tildesoft.com