[tlbuild] yet another progress report from Utah: OpenBSD (mostly a success)

Peter Breitenlohner peb at mppmu.mpg.de
Sun May 6 10:56:18 CEST 2012


On Sat, 5 May 2012, Peter Breitenlohner wrote:

> A proper way to do things would be this:
>
> (1) add to the library search path, e.g., LDFLAGS=-L<some_dir>.
>
> (2) put libfontconfig.la plus libfontconfig.a into <some_dir>, and do
>    the same for libexpat, libfreetype, libbz2, libz.

Hi Nelson,

I fully agree with Jonathan's reservation against linking xetex and
xdvipdfmx with a static libfontconfig.a, but if you really want to do that
here is a better way:

(1) set
       kpse_cv_have_fontconfig=yes
     on the command line (for Build or configure) with the effect that
     kpse_cv_fontconfig_libs will be used as value for FONTCONFIG_LIBS
     and kpse_cv_fontconfig_includes for FONTCONFIG_INCLUDES, thus
(2) set, e.g., for OpenBSD
       kpse_cv_fontconfig_libs="${libdir}/libfontconfig.a"
       kpse_cv_fontconfig_libs="$kpse_cv_fontconfig_libs /usr/lib/libexpat.a"
       ...
       kpse_cv_fontconfig_libs="$kpse_cv_fontconfig_libs ${libdir}/libz.a"
       libs='-lm'
(3) similarly it may be necessary to have
       kpse_cv_fontconfig_includes='-I/usr/local/invlude'
     and add these new variables to TL_BUILD_ENV.

============================

I hope you know that '--without-iconv' will reduce the functionallity of
xdvi, and similarly '--without-graphite' will somewhat reduce the
functionality of XeTeX (although in this case I don't know any details).

Why do you need '--without-graphite'?

Regards
Peter


More information about the tlbuild mailing list