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

Khem Raj raj.khem at gmail.com
Wed Sep 12 14:12:20 UTC 2018


On Wed, Sep 12, 2018 at 1:28 AM Hongxu Jia <hongxu.jia at windriver.com> wrote:
>
> Sorry for missing prefix `meta-networking' in subject
>
> //Hongxu
>
> On 2018年09月12日 16:26, Hongxu Jia wrote:
> > 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'

this should b fixable in source Makefile.am to use $(srcdir) in that
-I spec it might be either missing or ignoring the fact that S can be
different then B

> >
> > 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' \
>
>



More information about the Openembedded-devel mailing list