1 ################################################################################
5 ################################################################################
7 XLIB_LIBXFONT_VERSION
= 1.5.2
8 XLIB_LIBXFONT_SOURCE
= libXfont-
$(XLIB_LIBXFONT_VERSION
).
tar.bz2
9 XLIB_LIBXFONT_SITE
= http
://xorg.freedesktop.org
/releases
/individual
/lib
10 XLIB_LIBXFONT_LICENSE
= MIT
11 XLIB_LIBXFONT_LICENSE_FILES
= COPYING
12 XLIB_LIBXFONT_AUTORECONF
= YES
13 XLIB_LIBXFONT_INSTALL_STAGING
= YES
15 XLIB_LIBXFONT_DEPENDENCIES
= freetype xlib_libfontenc xlib_xtrans xproto_fontsproto xproto_xproto xfont_encodings
17 HOST_XLIB_LIBXFONT_DEPENDENCIES
= \
18 host-freetype host-xlib_libfontenc host-xlib_xtrans \
19 host-xproto_fontsproto host-xproto_xproto host-xfont_encodings
21 XLIB_LIBXFONT_CONF_OPTS
= --disable-devel-docs
22 HOST_XLIB_LIBXFONT_CONF_OPTS
= --disable-devel-docs
24 ifeq ($(BR2_microblaze
),y
)
25 # The microblaze toolchains don't define the __ELF__ preprocessor
26 # symbol even though they do use the elf format. LibXfont checks for
27 # this symbol to know if weak symbols are supported, and otherwise
28 # falls back to emulation code using dlopen - Causing linker issues
29 # for stuff using libXfont.
30 # Work around it by defining the symbol here as well.
31 XLIB_LIBXFONT_CONF_ENV
+= CFLAGS
="$(TARGET_CFLAGS) -D__ELF__"
34 $(eval
$(autotools-package
))
35 $(eval
$(host-autotools-package
))