]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/x11r7/xlib_libXfont/xlib_libXfont.mk
package/x11r7/xlib_libXfont: security bump to version 1.5.4
[coffee/buildroot.git] / package / x11r7 / xlib_libXfont / xlib_libXfont.mk
1 ################################################################################
2 #
3 # xlib_libXfont
4 #
5 ################################################################################
6
7 XLIB_LIBXFONT_VERSION = 1.5.4
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
14
15 XLIB_LIBXFONT_DEPENDENCIES = freetype xlib_libfontenc xlib_xtrans xproto_fontsproto xproto_xproto xfont_encodings
16
17 HOST_XLIB_LIBXFONT_DEPENDENCIES = \
18         host-freetype host-xlib_libfontenc host-xlib_xtrans \
19         host-xproto_fontsproto host-xproto_xproto host-xfont_encodings
20
21 XLIB_LIBXFONT_CONF_OPTS = --disable-devel-docs
22 HOST_XLIB_LIBXFONT_CONF_OPTS = --disable-devel-docs
23
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__"
32 endif
33
34 $(eval $(autotools-package))
35 $(eval $(host-autotools-package))