The configure options (e.g. --with-default-fonts) is documented incorrectly.
configure --help says to use --with-default-fonts, but the actual option is
--with-default_fonts. However, even if you specify the correct option, there is
a bug in the default_fonts variable. The attached patch corrects all options
such that they use the documented options and also corrects the typo when
specifying an alternate default font directory.
Without these patches, fontconfig will not work out-of-the-box on FreeBSD.
Created attachment 30 [details] [review]
Patch to correct configure arguments as well as default fonts typo
Patch applied. Thanks muchly.