From: Ross Burton Date: Thu, 17 Oct 2019 11:29:45 +0000 (+0100) Subject: gawk: add PACKAGECONFIG for readline X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~12994 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6958f7e4c6a1c27e823ae0a74c1642d78ca7a45e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gawk: add PACKAGECONFIG for readline Add a PACKAGECONFIG so that readline can be disabled if desired. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/gawk/gawk_5.0.1.bb b/meta/recipes-extended/gawk/gawk_5.0.1.bb index b3eb39e4eda..eaba6c78eda 100644 --- a/meta/recipes-extended/gawk/gawk_5.0.1.bb +++ b/meta/recipes-extended/gawk/gawk_5.0.1.bb @@ -11,8 +11,8 @@ SECTION = "console/utils" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -DEPENDS += "readline" - +PACKAGECONFIG ??= "readline" +PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr" SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \