diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-21 11:08:33 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-06-21 13:06:14 +0200 |
commit | 01eb0f919275c36db2ac6066a1158c17cce8ba95 (patch) | |
tree | 9b5bf338e95b49a235d3d243ceb8098ab5f3b6ba | |
parent | 00d884a6164b94209ea57a84d195eb6db98eb34e (diff) | |
download | meta-openembedded-01eb0f919275c36db2ac6066a1158c17cce8ba95.tar.gz |
libetpan: fix build with B!=S
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/libetpan/libetpan-0.57/sepbuild.patch | 16 | ||||
-rw-r--r-- | meta-oe/recipes-support/libetpan/libetpan_0.57.bb | 3 |
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 0000000000..4f0161727f --- /dev/null +++ b/meta-oe/recipes-support/libetpan/libetpan-0.57/sepbuild.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Index: libetpan-0.57/rules.mk | ||
2 | =================================================================== | ||
3 | --- libetpan-0.57.orig/rules.mk | ||
4 | +++ libetpan-0.57/rules.mk | ||
5 | @@ -134,9 +134,9 @@ prepare-am: prepare-local | ||
6 | if test -e ../../$(subdir)/$${hdr}; then \ | ||
7 | echo "$(LN_S) -f ../../$(subdir)/$${hdr} ."; \ | ||
8 | $(LN_S) -f ../../$(subdir)/$${hdr} .; \ | ||
9 | else \ | ||
10 | - echo "$(LN_S) -f ../../$(subdir)/$(srcdir)/$${hdr} ."; \ | ||
11 | - $(LN_S) -f ../../$(subdir)/$(srcdir)/$${hdr} .; \ | ||
12 | + echo "$(LN_S) -f $(srcdir)/$${hdr} ."; \ | ||
13 | + $(LN_S) -f $(srcdir)/$${hdr} .; \ | ||
14 | fi; \ | ||
15 | fi; \ | ||
16 | done; \ | ||
diff --git a/meta-oe/recipes-support/libetpan/libetpan_0.57.bb b/meta-oe/recipes-support/libetpan/libetpan_0.57.bb index 0dbd782025..6be0694ef1 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" | |||
10 | 10 | ||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \ | 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \ |
12 | file://libetpan-autoreconf.patch \ | 12 | file://libetpan-autoreconf.patch \ |
13 | file://libetpan-ldflags.patch" | 13 | file://libetpan-ldflags.patch \ |
14 | file://sepbuild.patch" | ||
14 | 15 | ||
15 | inherit autotools pkgconfig gettext binconfig | 16 | inherit autotools pkgconfig gettext binconfig |
16 | 17 | ||