summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-10-10 13:18:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-10 16:55:54 +0100
commitdee3eeb5d4e58b141ebb95595b72c66d8b04bcd3 (patch)
tree6e07057e35e6f582a3e03a0e44c8561407b8418e /meta/recipes-connectivity
parent59938780e7e776d87146002ea939b185f8704408 (diff)
downloadopenembedded-core-contrib-dee3eeb5d4e58b141ebb95595b72c66d8b04bcd3.tar.gz
openembedded-core-contrib-dee3eeb5d4e58b141ebb95595b72c66d8b04bcd3.tar.bz2
openembedded-core-contrib-dee3eeb5d4e58b141ebb95595b72c66d8b04bcd3.zip
socat: turn hard readline dependency into an option
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/socat/socat_1.7.3.3.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/socat/socat_1.7.3.3.bb b/meta/recipes-connectivity/socat/socat_1.7.3.3.bb
index 067f7c6444..1dbbe5cd55 100644
--- a/meta/recipes-connectivity/socat/socat_1.7.3.3.bb
+++ b/meta/recipes-connectivity/socat/socat_1.7.3.3.bb
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.dest-unreach.org/socat/"
SECTION = "console/network"
-DEPENDS = "openssl readline"
+DEPENDS = "openssl"
LICENSE = "GPL-2.0-with-OpenSSL-exception"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@@ -39,9 +39,10 @@ TERMBITS_SHIFTS_powerpc64 = "sc_cv_sys_crdly_shift=12 \
sc_cv_sys_tabdly_shift=10 \
sc_cv_sys_csize_shift=8"
-PACKAGECONFIG_class-target ??= "tcp-wrappers"
-PACKAGECONFIG ??= ""
+PACKAGECONFIG_class-target ??= "tcp-wrappers readline"
+PACKAGECONFIG ??= "readline"
PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
+PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline"
do_install_prepend () {
mkdir -p ${D}${bindir}