pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

native xsrc fontconfig



[ start with "pkg_delete -r freetype2 fontconfig" on a xsrc/native box ]

xsrc provides (according to /usr/X11R7/lib/pkgconfig)

fontconfig 2.12.4
freetype 18.0.13 (2.9.1 according to dist/ChangeLog)

fonts/fontconfig/buildlink3.mk contains

BUILDLINK_API_DEPENDS.fontconfig+=      fontconfig>=2.10.93
BUILDLINK_ABI_DEPENDS.fontconfig+=      fontconfig>=2.13.0

If I build ghostscript-gpl with the (default) fontconfig option,
fontconfig is built, and:

checking for FREETYPE... no
configure: error: Package requirements (freetype2 >= 21.0.15) were not met:

Package dependency requirement 'freetype2 >= 21.0.15' could not be satisfied.
Package 'freetype2' has version '18.0.13', required version is '>= 21.0.15'

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FREETYPE_CFLAGS
and FREETYPE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error code 1


The first question is why ghostscript-gpl isn't happy with the
builtin fontconfig - I don't see any minimum version requirements.

The second is: is it possible to build fonts/fontconfig?


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index