Patchwork [meta-oe,dylan,35/60] atftp: add PACKAGECONFIG for pcre, readline, tcp-wrapper

login
register
mail settings
Submitter Martin Jansa
Date Aug. 15, 2013, 7:19 a.m.
Message ID <76518a4bd1691093c18695deb6653c319caffab6.1376551135.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/55717/
State Accepted, archived
Headers show

Comments

Martin Jansa - Aug. 15, 2013, 7:19 a.m.
* it's autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-networking/recipes-daemons/atftp/atftp_git.bb | 5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/meta-networking/recipes-daemons/atftp/atftp_git.bb b/meta-networking/recipes-daemons/atftp/atftp_git.bb
index 09451bc..4b9ff05 100644
--- a/meta-networking/recipes-daemons/atftp/atftp_git.bb
+++ b/meta-networking/recipes-daemons/atftp/atftp_git.bb
@@ -18,6 +18,11 @@  S = "${WORKDIR}/git"
 
 inherit autotools update-rc.d useradd systemd
 
+PACKAGECONFIG ??= "tcp-wrappers"
+PACKAGECONFIG[pcre] = "--enable-libpcre,--disable-libpcre,libpcre"
+PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
+PACKAGECONFIG[readline] = "--enable-libreadline,--disable-libreadline,readline"
+
 INITSCRIPT_PACKAGES = "${PN}d"
 INITSCRIPT_NAME_${PN}d = "atftpd"
 INITSCRIPT_PARAMS_${PN}d = "defaults 80"