diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2015-10-30 12:42:18 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-11-06 17:49:37 +0100 |
| commit | f0226de0258ac485ba5b5152c7c01ac1d5bd66ba (patch) | |
| tree | f8a2e81342fd5e189c33c3153cc4f30a4382e68c | |
| parent | abeb107be132687ff98f4de3e5e81fb6781a07d3 (diff) | |
| download | meta-openembedded-f0226de0258ac485ba5b5152c7c01ac1d5bd66ba.tar.gz | |
fontforge: avoid cloning uthash during do_compile
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb index 5fab79cc2c..b50202d0a6 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 = " \ | |||
| 6 | file://LICENSE;md5=3f922b42ed0033fa0fd4cd3268f6429c \ | 6 | file://LICENSE;md5=3f922b42ed0033fa0fd4cd3268f6429c \ |
| 7 | " | 7 | " |
| 8 | 8 | ||
| 9 | DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool" | 9 | DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool uthash" |
| 10 | DEPENDS_append_class-target = " libxi" | 10 | DEPENDS_append_class-target = " libxi" |
| 11 | 11 | ||
| 12 | inherit autotools-bootstrap pkgconfig pythonnative distro_features_check | 12 | inherit autotools-bootstrap pkgconfig pythonnative distro_features_check |
| @@ -20,7 +20,14 @@ S = "${WORKDIR}/git" | |||
| 20 | 20 | ||
| 21 | EXTRA_OECONF_append_class-native = " with_x=no --disable-python-extension --disable-python-scripting" | 21 | EXTRA_OECONF_append_class-native = " with_x=no --disable-python-extension --disable-python-scripting" |
| 22 | 22 | ||
| 23 | EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -I${B}/uthash/src'" | 23 | do_configure_prepend() { |
| 24 | # uthash sources are expected in uthash/src | ||
| 25 | currdir=`pwd` | ||
| 26 | cd ${S} | ||
| 27 | mkdir -p uthash/src | ||
| 28 | cp ${STAGING_INCDIR}/ut*.h uthash/src | ||
| 29 | cd $currdir | ||
| 30 | } | ||
| 24 | 31 | ||
| 25 | PACKAGES =+ "${PN}-python-dbg ${PN}-python" | 32 | PACKAGES =+ "${PN}-python-dbg ${PN}-python" |
| 26 | 33 | ||
