From: Joe MacDonald <Joe_MacDonald@mentor.com>
To: <jackie.huang@windriver.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][PATCH] vpnc: use nativeperl to run perl scripts
Date: Tue, 4 Nov 2014 16:28:37 -0500 [thread overview]
Message-ID: <20141104212837.GA11534@mentor.com> (raw)
In-Reply-To: <1414560206-29833-1-git-send-email-jackie.huang@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]
Merged, thanks.
-J.
[[oe] [meta-networking][PATCH] vpnc: use nativeperl to run perl scripts] On 14.10.29 (Wed 01:23) jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
>
> inhert perlnative and make sure we use nativeperl
> to run perl scripts when compile.
>
> fixed:
> | ./makeman.pl
> | Can't locate Fatal.pm in @INC
>
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
> meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
> index 986416a..4efc412 100644
> --- a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
> +++ b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
> @@ -7,9 +7,16 @@ LICENSE = "GPL-2.0+"
> LIC_FILES_CHKSUM = "file://COPYING;md5=173b74cb8ac640a9992c03f3bce22a33"
> DEPENDS = "libgcrypt"
>
> +inherit perlnative
> +
> CFLAGS_append = ' -DVERSION=\\"${PV}\\"'
> LDFLAGS_append = " -lgcrypt -lgpg-error"
>
> +do_configure_append () {
> + # Make sure we use our nativeperl wrapper
> + sed -i "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/*.pl
> +}
> +
> do_install () {
> sed -i s:m600:m\ 600:g Makefile
> oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr' install
> --
> 2.0.0
>
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 501 bytes --]
prev parent reply other threads:[~2014-11-04 21:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-29 5:23 [meta-networking][PATCH] vpnc: use nativeperl to run perl scripts jackie.huang
2014-11-04 21:28 ` Joe MacDonald [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=20141104212837.GA11534@mentor.com \
--to=joe_macdonald@mentor.com \
--cc=jackie.huang@windriver.com \
--cc=openembedded-devel@lists.openembedded.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox