[oe] [meta-oe][PATCH 12/12] talloc: fix build with B!=S
Martin Jansa
martin.jansa at gmail.com
Sat Jun 21 09:19:09 UTC 2014
From: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../recipes-support/talloc/talloc/sepbuild.patch | 27 ++++++++++++++++++++++
meta-oe/recipes-support/talloc/talloc_2.0.1.bb | 7 ++----
2 files changed, 29 insertions(+), 5 deletions(-)
create mode 100644 meta-oe/recipes-support/talloc/talloc/sepbuild.patch
diff --git a/meta-oe/recipes-support/talloc/talloc/sepbuild.patch b/meta-oe/recipes-support/talloc/talloc/sepbuild.patch
new file mode 100644
index 0000000..05506c3
--- /dev/null
+++ b/meta-oe/recipes-support/talloc/talloc/sepbuild.patch
@@ -0,0 +1,27 @@
+Index: talloc-2.0.1/Makefile.in
+===================================================================
+--- talloc-2.0.1.orig/Makefile.in
++++ talloc-2.0.1/Makefile.in
+@@ -33,8 +33,8 @@ EXPORTSFILE = @EXPORTSFILE@
+
+ all:: showflags $(EXTRA_TARGETS)
+
+-include $(tallocdir)/rules.mk
+-include $(tallocdir)/talloc.mk
++include $(srcdir)/$(tallocdir)/rules.mk
++include $(srcdir)/$(tallocdir)/talloc.mk
+
+ @TALLOC_COMPAT1_MK@
+
+Index: talloc-2.0.1/libtalloc.m4
+===================================================================
+--- talloc-2.0.1.orig/libtalloc.m4
++++ talloc-2.0.1/libtalloc.m4
+@@ -33,6 +33,6 @@ if test $ac_cv_sizeof_size_t -lt $ac_cv_
+ fi
+
+ if test x"$VERSIONSCRIPT" != "x"; then
+- EXPORTSFILE=talloc.exports
++ EXPORTSFILE=$srcdir/$tallocdir/talloc.exports
+ AC_SUBST(EXPORTSFILE)
+ fi
diff --git a/meta-oe/recipes-support/talloc/talloc_2.0.1.bb b/meta-oe/recipes-support/talloc/talloc_2.0.1.bb
index 6b7e4f1..62bda71 100644
--- a/meta-oe/recipes-support/talloc/talloc_2.0.1.bb
+++ b/meta-oe/recipes-support/talloc/talloc_2.0.1.bb
@@ -7,6 +7,7 @@ inherit autotools pkgconfig
SRC_URI = "http://samba.org/ftp/${BPN}/${BPN}-${PV}.tar.gz \
file://install-swig-interface-in-SWINGLIBDIR.patch \
+ file://sepbuild.patch \
"
SRC_URI[md5sum] = "c6e736540145ca58cb3dcb42f91cf57b"
SRC_URI[sha256sum] = "5b810527405f29d54f50efd78bf2c89e318f2cd8bed001f22f2a1412fd27c9b4"
@@ -15,11 +16,7 @@ TARGET_CC_ARCH += "${LDFLAGS}"
PR = "r2"
-# autoreconf doesn't work well while reconfiguring included libreplace
-do_configure () {
- gnu-configize
- oe_runconf
-}
+EXTRA_AUTORECONF = "--exclude=autopoint --exclude=aclocal"
do_install_prepend() {
# Hack the way swig interface for talloc is installed
--
2.0.0
More information about the Openembedded-devel
mailing list