Subject: pkg/24367: fonts/fontconfig uses pkgsrc-incompatible docbook detection scheme, thus may fail on some OS
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <firstname.lastname@example.org>
Date: 02/08/2004 20:13:24
>Synopsis: fonts/fontconfig uses pkgsrc-incompatible docbook detection scheme, thus may fail on some OS
>Arrival-Date: Sun Feb 08 20:14:00 UTC 2004
>Originator: Michal Pasternak
>Release: Slackware 9.1
Linux slackware9 2.4.22 #6 Tue Sep 2 17:43:01 PDT 2003 i686 unknown unknown GNU/Linux
fonts/fontconfig configure script wants docbook2html to build docs.
Normally this is not needed. Docs are pre-built and distributed in
source tarball. HTML docs, manpages, tarball has them all.
In case of "vanilla" Slackware 9.1 with some docbook software installed
in /usr, the build will fail (because Slackware-provided programs seem
to have trouble). Full build log can be found at:
Slackware 9.1 docbook seems broken, or I haven't installed some other
packages. That doesn't matter. I think it is quite no use to have the
docs built on some platforms, and to not have them built on some other
platforms, I suggest fixing fonts/fontconfig Makefile so the docs won't
be built. There is no need for it, as I wrote before, they are in the source tarball.
Add to fonts/fontconfig/Makefile:
See docbook detection in configure script, it looks for such variable.
After adding this single line, fontconfig on Slackware 9.1 builds okay.
This has no effect on NetBSD/FreeBSD, because fontconfig didn't built
the docs (=> didn't found docbook, because fontconfig didn't need it).