summaryrefslogtreecommitdiff
path: root/package/fontconfig/fontconfig.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-16 16:06:45 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-16 16:06:45 +0000
commit6be03bae3c0413c33e4fddd5f7c739e2083122fe (patch)
tree46b47b157d67ee9db2b153c4e20423272960b0ab /package/fontconfig/fontconfig.mk
parent4079ef67cae820dd53010ac1ab227ea9857d5dca (diff)
- pass the freetype-config location to make and disable building docs.
This package is broken since it passes TARGET_CFLAGS down to the HOSTCC in e.g. fc-case
Diffstat (limited to 'package/fontconfig/fontconfig.mk')
-rw-r--r--package/fontconfig/fontconfig.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/fontconfig/fontconfig.mk b/package/fontconfig/fontconfig.mk
index 49e4b70b2..2f6314182 100644
--- a/package/fontconfig/fontconfig.mk
+++ b/package/fontconfig/fontconfig.mk
@@ -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