* [meta-oe][PATCH] enca: fix S!=B failure
@ 2014-05-28 2:52 Tim Orling
2014-05-28 20:20 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Tim Orling @ 2014-05-28 2:52 UTC (permalink / raw)
To: openembedded-devel
From: Tim Orling <TicoTimo@gmail.com>
This package does not like being built out-of-tree.
Fixes:
| sed: can't read configure.ac: No such file or directory
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
---
meta-oe/recipes-support/enca/enca_1.9.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/enca/enca_1.9.bb b/meta-oe/recipes-support/enca/enca_1.9.bb
index e65a143..452c01e 100644
--- a/meta-oe/recipes-support/enca/enca_1.9.bb
+++ b/meta-oe/recipes-support/enca/enca_1.9.bb
@@ -14,7 +14,7 @@ SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/enca-${PV}
SRC_URI[md5sum] = "b3581e28d68d452286fb0bfe58bed3b3"
SRC_URI[sha256sum] = "02acfef2b24a9c842612da49338138311f909f1cd33933520c07b8b26c410f4d"
-inherit autotools
+inherit autotools-brokensep
EXTRA_OECONF = "--with-libiconv-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH] enca: fix S!=B failure
2014-05-28 2:52 [meta-oe][PATCH] enca: fix S!=B failure Tim Orling
@ 2014-05-28 20:20 ` Khem Raj
2014-05-29 3:47 ` [meta-oe][PATCH v2] " Tim Orling
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2014-05-28 20:20 UTC (permalink / raw)
To: openembeded-devel
On Tue, May 27, 2014 at 7:52 PM, Tim Orling <ticotimo@gmail.com> wrote:
> From: Tim Orling <TicoTimo@gmail.com>
>
> This package does not like being built out-of-tree.
>
> Fixes:
> | sed: can't read configure.ac: No such file or directory
>
can't you sed it in ${S} ?
sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' ${S}/configure.ac
> Signed-off-by: Tim Orling <TicoTimo@gmail.com>
> ---
> meta-oe/recipes-support/enca/enca_1.9.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-support/enca/enca_1.9.bb b/meta-oe/recipes-support/enca/enca_1.9.bb
> index e65a143..452c01e 100644
> --- a/meta-oe/recipes-support/enca/enca_1.9.bb
> +++ b/meta-oe/recipes-support/enca/enca_1.9.bb
> @@ -14,7 +14,7 @@ SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/enca-${PV}
> SRC_URI[md5sum] = "b3581e28d68d452286fb0bfe58bed3b3"
> SRC_URI[sha256sum] = "02acfef2b24a9c842612da49338138311f909f1cd33933520c07b8b26c410f4d"
>
> -inherit autotools
> +inherit autotools-brokensep
>
> EXTRA_OECONF = "--with-libiconv-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
>
> --
> 1.8.3.2
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [meta-oe][PATCH v2] enca: fix S!=B failure
2014-05-28 20:20 ` Khem Raj
@ 2014-05-29 3:47 ` Tim Orling
0 siblings, 0 replies; 3+ messages in thread
From: Tim Orling @ 2014-05-29 3:47 UTC (permalink / raw)
To: openembedded-devel
From: Tim Orling <TicoTimo@gmail.com>
Point tools to the right paths:
* ${S}/configure.ac in do_configure_prepare()
* ${B}/Makefile in do_configure_append()
* cd ${B} in do_compile()
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
---
meta-oe/recipes-support/enca/enca_1.9.bb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta-oe/recipes-support/enca/enca_1.9.bb b/meta-oe/recipes-support/enca/enca_1.9.bb
index e65a143..ea38946 100644
--- a/meta-oe/recipes-support/enca/enca_1.9.bb
+++ b/meta-oe/recipes-support/enca/enca_1.9.bb
@@ -20,17 +20,17 @@ EXTRA_OECONF = "--with-libiconv-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
do_configure_prepend() {
# remove failing test which checks for something that isn't even used
- sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' configure.ac
+ sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' ${S}/configure.ac
}
do_configure_append() {
- sed -i s:-I/usr/include::g Makefile
- sed -i s:-I/usr/include::g */Makefile
+ sed -i s:-I/usr/include::g ${B}/Makefile
+ sed -i s:-I/usr/include::g ${B}/*/Makefile
}
do_compile() {
cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c
- cd ..
+ cd ${B}
oe_runmake
}
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-29 3:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-28 2:52 [meta-oe][PATCH] enca: fix S!=B failure Tim Orling
2014-05-28 20:20 ` Khem Raj
2014-05-29 3:47 ` [meta-oe][PATCH v2] " Tim Orling
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.