aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
diff options
context:
space:
mode:
authorRoy.Li <rongqing.li@windriver.com>2013-06-25 09:22:59 +0800
committerJoe MacDonald <joe.macdonald@windriver.com>2013-06-28 09:35:18 -0400
commitc21c656bfacfacc64b51dbf6357a25e46728f8ab (patch)
treec9acfd446872e32736e4c72fb98f937e935a8c03 /meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
parent44dfae3dd336ffcf35f50a639e15fade8d8ac4fc (diff)
downloadmeta-openembedded-contrib-c21c656bfacfacc64b51dbf6357a25e46728f8ab.tar.gz
cyrus-sasl: Avoid to call AC_TRY_RUN
If the gssapi libraries are compiled before cyrus-sasl, configure will call AC_TRY_RUN to check if gssapi libraries support SPNEGO, but calling AC_TRY_RUN will fail on cross-compile environment. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Diffstat (limited to 'meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb')
-rw-r--r--meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
index bf6f95c74e..431154013f 100644
--- a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
+++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
@@ -4,7 +4,8 @@ DEPENDS = "openssl virtual/db"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=3f55e0974e3d6db00ca6f57f2d206396"
-SRC_URI = "ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${PV}.tar.gz "
+SRC_URI = "ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${PV}.tar.gz \
+ file://avoid-to-call-AC_TRY_RUN.patch"
inherit autotools pkgconfig
@@ -14,6 +15,9 @@ EXTRA_OECONF += "--with-dblib=berkeley \
--without-pam --without-opie --without-des \
andrew_cv_runpath_switch=none"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[gssapi] = "--enable-gssapi=yes,--enable-gssapi=no,krb5,"
+
do_configure_prepend () {
rm -f acinclude.m4 config/libtool.m4
}