[oe-commits] Roxana Ciobanu : gawk: fix optional dependency mpfr
git at git.openembedded.org
git at git.openembedded.org
Thu Jul 3 12:16:36 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: ec0def7cc204f402fba017264ea201956add342d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ec0def7cc204f402fba017264ea201956add342d
Author: Roxana Ciobanu <roxana.ciobanu at intel.com>
Date: Thu Jul 3 12:45:44 2014 +0300
gawk: fix optional dependency mpfr
Gawk was failing to compile because of the optional feature mpfr if it found
libmpfr on build host and linked against that or mpfr existed in sysroot but
not in deploy, or if gawk was pulled from sstate and someone had mpfr built.
[YOCTO# 6473]
Signed-off-by: Roxana Ciobanu <roxana.ciobanu at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/gawk/gawk_4.1.1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-extended/gawk/gawk_4.1.1.bb b/meta/recipes-extended/gawk/gawk_4.1.1.bb
index 1298ee2..3266f58 100644
--- a/meta/recipes-extended/gawk/gawk_4.1.1.bb
+++ b/meta/recipes-extended/gawk/gawk_4.1.1.bb
@@ -13,6 +13,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS += "readline"
+PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr"
+
SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \
file://run-ptest \
file://Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch \
More information about the Openembedded-commits
mailing list