summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/gawk
diff options
context:
space:
mode:
authorRoxana Ciobanu <roxana.ciobanu@intel.com>2014-07-03 12:45:44 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 12:55:54 +0100
commitec0def7cc204f402fba017264ea201956add342d (patch)
tree83cb2cd974c31c8368f356d239f2a9470cf63d87 /meta/recipes-extended/gawk
parent0f107a76713cebb49004d48fd410d9f014dda4b3 (diff)
downloadopenembedded-core-ec0def7cc204f402fba017264ea201956add342d.tar.gz
openembedded-core-ec0def7cc204f402fba017264ea201956add342d.tar.bz2
openembedded-core-ec0def7cc204f402fba017264ea201956add342d.zip
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/gawk')
-rw-r--r--meta/recipes-extended/gawk/gawk_4.1.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/gawk/gawk_4.1.1.bb b/meta/recipes-extended/gawk/gawk_4.1.1.bb
index 1298ee2f4c..3266f58cbd 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 \