BUG: libxml2 looks for local XML catalog in /etc/xml/catalog instead of ${prefix}/etc/xml/catalog
Attached is a patch to make the libxml2 port look for the local XML catalog in ${prefix}/etc/xml/catalog
, as well as some patches to the installed documentation to be consistent with this (the rest of the installed documentation appears to be of a more general nature and thus inappropriate for such a change). This will solve problems such as those reported in #10422 and by Baz on the mailing list, as well as eliminating the need for defining XML_CATALOG_FILES
in Portfiles such as those for devel/git-core, graphics/gimp-user-manual and textproc/xmlto.
This patch is identical to the one mailed to the libxml2 maintainer in private communication on 25 May 2007. It should probably be reported upstream, too. (I'm too tired to do it right now... sleep is good :-) )
Patch committed in changeset:26074