]> code.ossystems Code Review - openembedded-core.git/commitdiff
gawk: add PACKAGECONFIG for readline
authorRoss Burton <ross.burton@intel.com>
Thu, 17 Oct 2019 11:29:45 +0000 (12:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Oct 2019 17:13:38 +0000 (18:13 +0100)
Add a PACKAGECONFIG so that readline can be disabled if desired.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/gawk/gawk_5.0.1.bb

index b3eb39e4edae9ff974139bc56d7dbbd55e41e0e7..eaba6c78eda2c94aa6ae5044b50a973b09413967 100644 (file)
@@ -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 \