summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-10-17 12:29:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-19 18:13:38 +0100
commit6958f7e4c6a1c27e823ae0a74c1642d78ca7a45e (patch)
treec91e4ebd629ed1bc20d3f225396c23bf7e00a3df
parent04136dbac48986dce5b2b872b2c0b46c673c44f2 (diff)
downloadopenembedded-core-6958f7e4c6a1c27e823ae0a74c1642d78ca7a45e.tar.gz
gawk: add PACKAGECONFIG for readline
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>
-rw-r--r--meta/recipes-extended/gawk/gawk_5.0.1.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/gawk/gawk_5.0.1.bb b/meta/recipes-extended/gawk/gawk_5.0.1.bb
index b3eb39e4ed..eaba6c78ed 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 \