From f0226de0258ac485ba5b5152c7c01ac1d5bd66ba Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Fri, 30 Oct 2015 12:42:18 +0100 Subject: fontforge: avoid cloning uthash during do_compile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb') diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb index 5fab79cc2..b50202d0a 100644 --- a/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb +++ b/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = " \ file://LICENSE;md5=3f922b42ed0033fa0fd4cd3268f6429c \ " -DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool" +DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool uthash" DEPENDS_append_class-target = " libxi" inherit autotools-bootstrap pkgconfig pythonnative distro_features_check @@ -20,7 +20,14 @@ S = "${WORKDIR}/git" EXTRA_OECONF_append_class-native = " with_x=no --disable-python-extension --disable-python-scripting" -EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -I${B}/uthash/src'" +do_configure_prepend() { + # uthash sources are expected in uthash/src + currdir=`pwd` + cd ${S} + mkdir -p uthash/src + cp ${STAGING_INCDIR}/ut*.h uthash/src + cd $currdir +} PACKAGES =+ "${PN}-python-dbg ${PN}-python" -- cgit v1.2.3-54-g00ecf