xserver: tell the X server where fonts are installed
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 22 Jul 2010 13:47:48 +0000 (15:47 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 27 Jul 2010 20:48:14 +0000 (22:48 +0200)
All fonts are installed in /usr/share/fonts/X11 and not in
/usr/lib/X11/fonts/ where the X server looks by default.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk

index 7c12d2454037e95bd6160971f49c0974d737f568..da288b1cacc385decf6a8bde4c65a5947be0f04e 100644 (file)
@@ -60,7 +60,8 @@ XSERVER_XORG_SERVER_DEPENDENCIES =    \
 XSERVER_XORG_SERVER_CONF_OPT = --disable-config-hal \
                --disable-xnest --disable-xephyr --disable-xvfb \
                --with-builder-addr=buildroot@uclibc.org \
-               CFLAGS="-I$(STAGING_DIR)/usr/include/pixman-1"
+               CFLAGS="-I$(STAGING_DIR)/usr/include/pixman-1" \
+               --with-fontdir=/usr/share/fonts/X11/
 
 ifeq ($(BR2_PACKAGE_XSERVER_xorg),y)
 XSERVER_XORG_SERVER_CONF_OPT += --enable-xorg --disable-glx