- pass the freetype-config location to make and disable building docs.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 16 Jan 2007 16:06:45 +0000 (16:06 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 16 Jan 2007 16:06:45 +0000 (16:06 -0000)
  This package is broken since it passes TARGET_CFLAGS down to the HOSTCC in e.g. fc-case

package/fontconfig/fontconfig.mk

index 49e4b70b2f3bc31d502e1a5f5a2521cb39b36c16..2f6314182d9bab3d4b89ea270bdb52d5b696b4a1 100644 (file)
@@ -25,6 +25,7 @@ $(FONTCONFIG_DIR)/.configured: $(FONTCONFIG_DIR)/.unpacked
        $(TARGET_CONFIGURE_OPTS) \
        CFLAGS="$(TARGET_CFLAGS) " \
        CCexe="$(HOSTCC)" \
+       ac_cv_func_mmap_fixed_mapped=yes \
        ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
@@ -42,6 +43,8 @@ $(FONTCONFIG_DIR)/.configured: $(FONTCONFIG_DIR)/.unpacked
                --includedir=/include \
                --mandir=/usr/man \
                --infodir=/usr/info \
+               --with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
+               --disable-docs \
        );
        touch $(FONTCONFIG_DIR)/.configured