[oe-commits] Richard Purdie : libetpan: fix build with B!=S

git at git.openembedded.org git at git.openembedded.org
Sat Jun 21 17:25:31 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 01eb0f919275c36db2ac6066a1158c17cce8ba95
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=01eb0f919275c36db2ac6066a1158c17cce8ba95

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sat Jun 21 11:08:33 2014 +0200

libetpan: fix build with B!=S

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../libetpan/libetpan-0.57/sepbuild.patch                | 16 ++++++++++++++++
 meta-oe/recipes-support/libetpan/libetpan_0.57.bb        |  3 ++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libetpan/libetpan-0.57/sepbuild.patch b/meta-oe/recipes-support/libetpan/libetpan-0.57/sepbuild.patch
new file mode 100644
index 0000000..4f01617
--- /dev/null
+++ b/meta-oe/recipes-support/libetpan/libetpan-0.57/sepbuild.patch
@@ -0,0 +1,16 @@
+Index: libetpan-0.57/rules.mk
+===================================================================
+--- libetpan-0.57.orig/rules.mk
++++ libetpan-0.57/rules.mk
+@@ -134,9 +134,9 @@ prepare-am: prepare-local
+ 	         if test -e ../../$(subdir)/$${hdr}; then \
+ 	           echo "$(LN_S) -f ../../$(subdir)/$${hdr} ."; \
+ 	           $(LN_S) -f ../../$(subdir)/$${hdr} .; \
+              else \
+-	           echo "$(LN_S) -f ../../$(subdir)/$(srcdir)/$${hdr} ."; \
+-	           $(LN_S) -f ../../$(subdir)/$(srcdir)/$${hdr} .; \
++	           echo "$(LN_S) -f $(srcdir)/$${hdr} ."; \
++	           $(LN_S) -f $(srcdir)/$${hdr} .; \
+              fi; \
+            fi; \
+ 	     done; \
diff --git a/meta-oe/recipes-support/libetpan/libetpan_0.57.bb b/meta-oe/recipes-support/libetpan/libetpan_0.57.bb
index 0dbd782..6be0694 100644
--- a/meta-oe/recipes-support/libetpan/libetpan_0.57.bb
+++ b/meta-oe/recipes-support/libetpan/libetpan_0.57.bb
@@ -10,7 +10,8 @@ PR = "r1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \
            file://libetpan-autoreconf.patch \
-           file://libetpan-ldflags.patch"
+           file://libetpan-ldflags.patch \
+           file://sepbuild.patch"
 
 inherit autotools pkgconfig gettext binconfig
 



More information about the Openembedded-commits mailing list