summaryrefslogtreecommitdiff
path: root/package/fontconfig/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-24 17:41:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-24 17:41:36 +0100
commit0aabef127155575e8c8d660605f9401ab15356aa (patch)
treeb8cd5f06c60cd4e95fd7a2923dabb3b831dd93b3 /package/fontconfig/patches/patch-configure
parent0b09c2710166bd95ac9033b048bb6cbf7b4de7c2 (diff)
allow native build of a lot of packages
STAGING_TARGET_DIR is used for package Makefile's for include and library search path's. STAGING_DIR is used for common code in mk/ or Makefile/rules.mk. STAGING_TARGET_DIR is /usr when native builds are used.
Diffstat (limited to 'package/fontconfig/patches/patch-configure')
-rw-r--r--package/fontconfig/patches/patch-configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/fontconfig/patches/patch-configure b/package/fontconfig/patches/patch-configure
new file mode 100644
index 000000000..2c3e4162c
--- /dev/null
+++ b/package/fontconfig/patches/patch-configure
@@ -0,0 +1,18 @@
+--- fontconfig-2.8.0.orig/configure 2009-11-19 00:49:41.000000000 +0100
++++ fontconfig-2.8.0/configure 2011-02-24 14:32:50.000000000 +0100
+@@ -817,6 +817,7 @@ ICONV_LIBS
+ ARCHITECTURE
+ EXEEXT_FOR_BUILD
+ CC_FOR_BUILD
++CFLAGS_FOR_BUILD
+ CROSS_COMPILING_FALSE
+ CROSS_COMPILING_TRUE
+ WARN_CFLAGS
+@@ -11872,6 +11873,7 @@ if test "${ac_cv_prog_CC_FOR_BUILD+set}"
+ else
+ if test -n "$CC_FOR_BUILD"; then
+ ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
++ ac_cv_prog_CFLAGS_FOR_BUILD="$CFLAGS_FOR_BUILD" # Let the user override the test.
+ else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH