On Wed, Nov 05, 2008 at 03:20:03AM -0500, Aaron W. Hsu wrote: > The following patch fixes an (apparently known) issue with glib2 > wherein the port cannot be installed or built on a system with an > existing, incompatible glib2 version (i.e. -- older package) > installed, because the build would catch the older libraries rather > than the newly built ones. This patch works around this by fiddling > with LDFLAGS to catch the new libraries. > > A better solution would be for the system to build correctly without > having to fiddle with LDFLAGS at all, but this works at least on > my system. Testing welcomed.
We don't want those horrible workarounds. Are you going to dig through the whole portstree and submit patches to add this knob for each library not building with the previous version installed ? You have no idea about what would break with this LDFLAGS fiddling. And having two versions of the library installed at the same time always lead to issues when compiling depending ports (trust my experience) In two words: No way. Landry