[oe-commits] Joe Slater : openssh: build without libbsd

git at git.openembedded.org git at git.openembedded.org
Mon Mar 31 21:47:09 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 103ef2295c728e427acc27bb071e786946c459f2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=103ef2295c728e427acc27bb071e786946c459f2

Author: Joe Slater <jslater at windriver.com>
Date:   Sun Mar 30 13:48:45 2014 -0700

openssh: build without libbsd

We do not DEPEND on libbsd, so we do not want to
build with it just because libutil.h is found by configure.
As noted in the patch, specifying --disable-libutil to
configure does not work, so we provide "cached" configure
variables.

Signed-off-by: Joe Slater <jslater at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-connectivity/openssh/openssh_6.5p1.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-connectivity/openssh/openssh_6.5p1.bb b/meta/recipes-connectivity/openssh/openssh_6.5p1.bb
index 6c413af..3496b4d 100644
--- a/meta/recipes-connectivity/openssh/openssh_6.5p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_6.5p1.bb
@@ -61,6 +61,12 @@ EXTRA_OECONF = "${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--with
                 --sysconfdir=${sysconfdir}/ssh \
                 --with-xauth=/usr/bin/xauth"
 
+# Since we do not depend on libbsd, we do not want configure to use it
+# just because it finds libutil.h.  But, specifying --disable-libutil
+# causes compile errors, so...
+#
+CACHED_CONFIGUREVARS += "ac_cv_header_bsd_libutil_h=no ac_cv_header_libutil_h=no"
+
 # This is a workaround for uclibc because including stdio.h
 # pulls in pthreads.h and causes conflicts in function prototypes.
 # This results in compilation failure, so unless this is fixed,



More information about the Openembedded-commits mailing list