#17042: glib2: incorrect glibconfig.h with +universal (i386 x86_64) ---------------------------------+------------------------------------------ Reporter: pguyot@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: glib2, glib2-devel ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Replying to [comment:8 mcalhoun@…]:
[http://trac.macports.org/browser/trunk/dports/devel/glib2/files/patch- which.diff patch-which.diff] was added because of #17418.[[BR]] The glib bug tracker [http://bugzilla.gnome.org/show_bug.cgi?id=562310 says it is fixed] and seems to be on Leopard.
patch-which.diff is still necessary. The upstream bug has allegedly been fixed in the gtk-doc sources and the fix will be included in gtk-doc 1.12. I have been unable to verify the fix because I cannot get gtk-doc to build from trunk. The fix will not appear in glib2 until the people who package glib2 are using a version of gtk-doc that includes the fix. You will not see the problem on Leopard because the version of "which" on Leopard returns status code 1 if it does not find the program in question. The version of "which" on Tiger and earlier returns status code 0 regardless of whether or not it finds the program in question; this is the behavior that the code in gtk-doc did not anticipate and with which it does not work correctly, because it assumes that if "which" exits with status code 0 then the program in question exists.
Somewhere along the line, --mandir became unnecessary.
Agreed; removing it from glib2 and glib2-devel in r47122. -- Ticket URL: <http://trac.macports.org/ticket/17042#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS