Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] freetype: fix includedir
@ 2013-06-13  3:28 Gustavo Zacarias
  2013-06-13  6:08 ` Arnout Vandecappelle
  0 siblings, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2013-06-13  3:28 UTC (permalink / raw)
  To: buildroot

Set includedir to point to staging because freetype-config and
freetype2.pc otherwise point to /usr/include causing all kind of havoc
because it expands configure --prefix now instead of using the
.pc/-config one.

Fixes:
http://autobuild.buildroot.net/results/1c7/1c70ce0ff350623cc38baf4b8b61c8a7a8586aba/
...and many others.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/freetype/freetype.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index 16f00fe..4ea678b 100644
--- a/package/freetype/freetype.mk
+++ b/package/freetype/freetype.mk
@@ -9,6 +9,7 @@ FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
 FREETYPE_SITE = http://downloads.sourceforge.net/project/freetype/freetype2/$(FREETYPE_VERSION)
 FREETYPE_INSTALL_STAGING = YES
 FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
+FREETYPE_CONF_OPT = --includedir="$(STAGING_DIR)/usr/include"
 FREETYPE_LICENSE = Dual FTL/GPLv2+
 FREETYPE_LICENSE_FILES = docs/FTL.TXT docs/GPLv2.TXT
 FREETYPE_DEPENDENCIES = host-pkgconf \
-- 
1.8.1.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-13 12:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13  3:28 [Buildroot] [PATCH] freetype: fix includedir Gustavo Zacarias
2013-06-13  6:08 ` Arnout Vandecappelle
2013-06-13 10:28   ` Gustavo Zacarias
2013-06-13 12:25     ` Sagaert Johan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox