]> code.ossystems Code Review - openembedded-core.git/commitdiff
gawk: fix optional dependency mpfr
authorRoxana Ciobanu <roxana.ciobanu@intel.com>
Thu, 3 Jul 2014 09:45:44 +0000 (12:45 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Jul 2014 11:55:54 +0000 (12:55 +0100)
 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>
meta/recipes-extended/gawk/gawk_4.1.1.bb

index 1298ee2f4ce132bc1e65273dfecdafabbd374303..3266f58cbd58207f084ac3426e64755c21f0224c 100644 (file)
@@ -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 \