[oe] [PATCH] cyrus-sasl: use autotools-brokensep to build in sources

Hongxu Jia hongxu.jia at windriver.com
Wed Sep 12 08:26:42 UTC 2018


The makefile of cyrus-sasl does not support build out of tree very well,
while using `--enable-ldapdb', there is a compile failure
[snip]
| powerpc-wrs-linux-gcc [snip] -I../common
|../../git/saslauthd/lak.c:58:10: fatal error: crypto-compat.h:
No such file or directory
[snip]

The crypto-compat.h locates in git/common/, it should be
`-I../../git/common'

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb
index a03712c..4c26989 100644
--- a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb
+++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb
@@ -20,7 +20,7 @@ UPSTREAM_CHECK_URI = "https://github.com/cyrusimap/cyrus-sasl/archives"
 
 S = "${WORKDIR}/git"
 
-inherit autotools pkgconfig useradd systemd
+inherit autotools-brokensep pkgconfig useradd systemd
 
 EXTRA_OECONF += "--with-dblib=berkeley \
                  --with-plugindir='${libdir}/sasl2' \
-- 
2.10.2




More information about the Openembedded-devel mailing list