diff options
author | Roxana Ciobanu <roxana.ciobanu@intel.com> | 2014-07-03 12:45:44 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-03 13:57:07 +0100 |
commit | ffd4e50bffe99beeb1f4949e678c9352434edce0 (patch) | |
tree | c6947a8f756af3e75046206d9d570980fd3afb9c /meta/recipes-extended/gawk/gawk_4.1.1.bb | |
parent | 8a185784d215a34b84d76303f0134a04746a61ac (diff) | |
download | poky-ffd4e50bffe99beeb1f4949e678c9352434edce0.tar.gz |
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]
(From OE-Core rev: ec0def7cc204f402fba017264ea201956add342d)
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/gawk_4.1.1.bb')
-rw-r--r-- | meta/recipes-extended/gawk/gawk_4.1.1.bb | 2 |
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" | |||
13 | 13 | ||
14 | DEPENDS += "readline" | 14 | DEPENDS += "readline" |
15 | 15 | ||
16 | PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr" | ||
17 | |||
16 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ | 18 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ |
17 | file://run-ptest \ | 19 | file://run-ptest \ |
18 | file://Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch \ | 20 | file://Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch \ |