diff mbox series

[4/4] gawk: add PACKAGECONFIG for readline

Message ID 20191017112945.345-4-ross.burton@intel.com
State Accepted
Commit 6958f7e4c6a1c27e823ae0a74c1642d78ca7a45e
Headers show
Series [1/4] python3: alternative name is python3-config not python-config | expand

Commit Message

Ross Burton Oct. 17, 2019, 11:29 a.m. UTC
Add a PACKAGECONFIG so that readline can be disabled if desired.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-extended/gawk/gawk_5.0.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

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 \