summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/guile
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-08-16 11:30:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-19 18:05:34 +0100
commita33439546ffbc45e895255efc5a450e4c548e0c3 (patch)
tree585ca128514a7f8bc81a35d52bb45374be53190e /meta/recipes-devtools/guile
parent625e0ec8b5e5f1c39b3bfad0e6adfecaf957d689 (diff)
downloadpoky-a33439546ffbc45e895255efc5a450e4c548e0c3.tar.gz
guile: Specify directories to find proper libunistring, libgmp and libltdl
Just when building on host which doesnt have libunistring on host guile fails the following configure test | configure: error: GNU libunistring is required, please install it. | Configure failed. The contents of all config.log files follows to aid debugging The reason is that its looking for libunistring dev files on build system, so lets point the configure into target sysroot, similar issue exist for libgmp, libltdl detection as well, fixed thusly Get rid of trailing whitespaces while here (From OE-Core rev: 9770ce87e1e09096bbfab19e646e2b8612efae8a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/guile')
-rw-r--r--meta/recipes-devtools/guile/guile_2.0.11.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-devtools/guile/guile_2.0.11.bb b/meta/recipes-devtools/guile/guile_2.0.11.bb
index ea9017bdd9..71f696e774 100644
--- a/meta/recipes-devtools/guile/guile_2.0.11.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.11.bb
@@ -11,7 +11,7 @@ DESCRIPTION = "Guile is the GNU Ubiquitous Intelligent Language for Extensions,\
11HOMEPAGE = "http://www.gnu.org/software/guile/" 11HOMEPAGE = "http://www.gnu.org/software/guile/"
12SECTION = "devel" 12SECTION = "devel"
13LICENSE = "GPLv3" 13LICENSE = "GPLv3"
14LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 14LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
15 15
16SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \ 16SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \
17 file://debian/0002-Mark-Unused-modules-are-removed-gc-test-as-unresolve.patch \ 17 file://debian/0002-Mark-Unused-modules-are-removed-gc-test-as-unresolve.patch \
@@ -26,7 +26,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \
26 " 26 "
27 27
28# file://debian/0001-Change-guile-to-guile-X.Y-for-info-pages.patch 28# file://debian/0001-Change-guile-to-guile-X.Y-for-info-pages.patch
29# file://opensuse/guile-turn-off-gc-test.patch 29# file://opensuse/guile-turn-off-gc-test.patch
30 30
31SRC_URI[md5sum] = "03f1bce1a4983076d955003472306a13" 31SRC_URI[md5sum] = "03f1bce1a4983076d955003472306a13"
32SRC_URI[sha256sum] = "aed0a4a6db4e310cbdfeb3613fa6f86fddc91ef624c1e3f8937a6304c69103e2" 32SRC_URI[sha256sum] = "aed0a4a6db4e310cbdfeb3613fa6f86fddc91ef624c1e3f8937a6304c69103e2"
@@ -43,6 +43,10 @@ RDEPENDS_${PN}_append_libc-glibc_class-target = "glibc-gconv-iso8859-1"
43 43
44EXTRA_OECONF += "${@['--without-libltdl-prefix --without-libgmp-prefix --without-libreadline-prefix', ''][bb.data.inherits_class('native',d)]}" 44EXTRA_OECONF += "${@['--without-libltdl-prefix --without-libgmp-prefix --without-libreadline-prefix', ''][bb.data.inherits_class('native',d)]}"
45 45
46EXTRA_OECONF_append_class-target = " --with-libunistring-prefix=${STAGING_LIBDIR} \
47 --with-libgmp-prefix=${STAGING_LIBDIR} \
48 --with-libltdl-prefix=${STAGING_LIBDIR}"
49
46do_configure_prepend() { 50do_configure_prepend() {
47 mkdir -p po 51 mkdir -p po
48} 52}