diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-15 15:50:23 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-26 08:29:09 +0200 |
commit | 82f2e2b69e2c0c04b2fff357260bc36be08f0752 (patch) | |
tree | 2115a39a79714dfc57de64f2852262cd0497b33d | |
parent | e05536ca6835944e80df61c82bfe60d423c7c193 (diff) | |
download | meta-openembedded-82f2e2b69e2c0c04b2fff357260bc36be08f0752.tar.gz |
chrony: add PACKAGECONFIG for nss, libcap
* fixes autodetected dependencies
http://logs.nslu2-linux.org/buildlogs/oe/world/log.report.20160905_011801.log
chrony-2.4: chronyc rdepends on nss, but it isn't a build dependency, missing nss in DEPENDS or PACKAGECONFIG? [build-deps]
chrony-2.4: chrony rdepends on libcap, but it isn't a build dependency, missing libcap in DEPENDS or PACKAGECONFIG? [build-deps]
chrony-2.4: chrony rdepends on nss, but it isn't a build dependency, missing nss in DEPENDS or PACKAGECONFIG? [build-deps]
* also use PACKAGECONFIG_CONFARGS instead of EXTRA_OECONF in do_configure
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-networking/recipes-support/chrony/chrony_2.4.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony_2.4.bb b/meta-networking/recipes-support/chrony/chrony_2.4.bb index 4bc4ce0df..a8898dc80 100644 --- a/meta-networking/recipes-support/chrony/chrony_2.4.bb +++ b/meta-networking/recipes-support/chrony/chrony_2.4.bb | |||
@@ -67,6 +67,8 @@ PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss" | |||
67 | PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap" | 67 | PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap" |
68 | PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp" | 68 | PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp" |
69 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 69 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
70 | PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss" | ||
71 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" | ||
70 | 72 | ||
71 | # --disable-static isn't supported by chrony's configure script. | 73 | # --disable-static isn't supported by chrony's configure script. |
72 | DISABLE_STATIC = "" | 74 | DISABLE_STATIC = "" |
@@ -74,7 +76,7 @@ DISABLE_STATIC = "" | |||
74 | do_configure() { | 76 | do_configure() { |
75 | ./configure --sysconfdir=${sysconfdir} --bindir=${bindir} --sbindir=${sbindir} \ | 77 | ./configure --sysconfdir=${sysconfdir} --bindir=${bindir} --sbindir=${sbindir} \ |
76 | --localstatedir=${localstatedir} --datarootdir=${datadir} \ | 78 | --localstatedir=${localstatedir} --datarootdir=${datadir} \ |
77 | ${EXTRA_OECONF} | 79 | ${PACKAGECONFIG_CONFARGS} |
78 | } | 80 | } |
79 | 81 | ||
80 | do_install() { | 82 | do_install() { |