aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libetpan
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-21 11:08:33 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-06-21 13:06:14 +0200
commit01eb0f919275c36db2ac6066a1158c17cce8ba95 (patch)
tree9b5bf338e95b49a235d3d243ceb8098ab5f3b6ba /meta-oe/recipes-support/libetpan
parent00d884a6164b94209ea57a84d195eb6db98eb34e (diff)
downloadmeta-openembedded-01eb0f919275c36db2ac6066a1158c17cce8ba95.tar.gz
meta-openembedded-01eb0f919275c36db2ac6066a1158c17cce8ba95.tar.bz2
meta-openembedded-01eb0f919275c36db2ac6066a1158c17cce8ba95.zip
libetpan: fix build with B!=S
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libetpan')
-rw-r--r--meta-oe/recipes-support/libetpan/libetpan-0.57/sepbuild.patch16
-rw-r--r--meta-oe/recipes-support/libetpan/libetpan_0.57.bb3
2 files changed, 18 insertions, 1 deletions
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 000000000..4f0161727
--- /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 0dbd78202..6be0694ef 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