socat: turn hard readline dependency into an option

(From OE-Core rev: dee3eeb5d4e58b141ebb95595b72c66d8b04bcd3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2019-10-10 13:18:39 +02:00
committed by Richard Purdie
parent 94f6b31bef
commit c9aa4b061f

View File

@@ -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}