From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Steven Munk Østergaard" <sml@rosetechnology.dk>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: Fail in perl-native_5.14.2.bb
Date: Fri, 28 Sep 2012 14:18:20 +0100 [thread overview]
Message-ID: <1348838300.15753.48.camel@ted> (raw)
In-Reply-To: <50646480.40108@rosetechnology.dk>
On Thu, 2012-09-27 at 16:36 +0200, Steven Munk Østergaard wrote:
> Hello, peace be with thee... :)
>
> I found a mistake in the "do_configure()" function of:
> "perl-native_5.14.2.bb"
>
> I am not experienced enough with mailing list to produce patches, but i
> will try...
>
> Explanation:
> sed is in " -e "s%/perl5%/perl%g" \ " replacing parts of @DESTDIR@ which
> makes its patch way to long and doubles up parts of it's folders...
> This patch works for me...
>
>
> Index: perl/perl_5.14.2.bb
> ===================================================================
> --- perl.orig/perl_5.14.2.bb
> +++ perl/perl_5.14.2.bb
> @@ -146,14 +146,14 @@ do_configure() {
> ${@base_contains('DISTRO_FEATURES', 'largefile', '',
> 'do_nolargefile', d)}
>
> # Update some paths in the configuration
> - sed -i -e 's,@DESTDIR@,${prefix},g' \
> - -e 's,@ARCH@-thread-multi,,g' \
> + sed -i -e 's,@ARCH@-thread-multi,,g' \
> -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \
> -e 's,@STAGINGDIR@,${STAGING_DIR_HOST},g' \
> -e "s%\([ \"^\',=]\+\)/usr/include%\1${STAGING_INCDIR}%g" \
> -e "s%\([ \"^\',=]\+\)/usr/lib/%\1${libdir}/%g" \
> -e "s%\([ \"^\',=]\+\)/usr/%\1${exec_prefix}/%g" \
> -e "s%/perl5%/perl%g" \
> + -e 's,@DESTDIR@,${prefix},g' \
> config.sh-${TARGET_ARCH}-${TARGET_OS}
>
> case "${TARGET_ARCH}" in
Thanks, there are a number of problems in this area. Please see the
patch I just posted which hopefully addresses all this once and for all.
Cheers,
Richard
prev parent reply other threads:[~2012-09-28 13:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-27 14:36 Fail in perl-native_5.14.2.bb Steven Munk Østergaard
2012-09-28 13:18 ` Richard Purdie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1348838300.15753.48.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=sml@rosetechnology.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.