[packages] pango for X should depend on libXft
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 16 Feb 2010 10:17:43 +0000 (10:17 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Tue, 16 Feb 2010 10:17:43 +0000 (10:17 +0000)
SVN-Revision: 19656

Xorg/lib/pango/Makefile

index a242112..cc52c6c 100644 (file)
@@ -31,7 +31,8 @@ define Package/pango
   SUBMENU:=libraries
   TITLE:=Text layout and rendering library
   DEPENDS:=+cairo +glib2 +fontconfig +libfreetype \
   SUBMENU:=libraries
   TITLE:=Text layout and rendering library
   DEPENDS:=+cairo +glib2 +fontconfig +libfreetype \
-  +FEATURE_drawing-backend_libX11:libX11
+  +FEATURE_drawing-backend_libX11:libX11 \
+  +FEATURE_drawing-backend_libX11:libXft
 endef
 
 define Package/pango/description
 endef
 
 define Package/pango/description
@@ -45,6 +46,9 @@ endef
 CONFIGURE_ARGS += \
        $(if $(CONFIG_PACKAGE_libX11), --with-x, --without-x)
 
 CONFIGURE_ARGS += \
        $(if $(CONFIG_PACKAGE_libX11), --with-x, --without-x)
 
+CONFIGURE_VARS += \
+       CXX=$(TARGET_CC)
+
 define Build/InstallDev
        $(INSTALL_DIR) \
                $(1)/usr/lib/pkgconfig \
 define Build/InstallDev
        $(INSTALL_DIR) \
                $(1)/usr/lib/pkgconfig \