[oe-commits] Tom Rini : perl-native: create_wrapper on perl${PV} too

git version control git at git.openembedded.org
Mon May 16 20:10:33 UTC 2011


Module: openembedded.git
Branch: master
Commit: 1e255fbd296e95ff178d66c4a1fe4875a988d7e1
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=1e255fbd296e95ff178d66c4a1fe4875a988d7e1

Author: Tom Rini <tom_rini at mentor.com>
Date:   Mon May 16 13:06:33 2011 -0700

perl-native: create_wrapper on perl${PV} too

perl${PV} becomes hostperl when building for the target so we need a
wrapper on that too.

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/perl/perl-native_5.10.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/perl/perl-native_5.10.1.bb b/recipes/perl/perl-native_5.10.1.bb
index 5aa0c7b..5472c13 100644
--- a/recipes/perl/perl-native_5.10.1.bb
+++ b/recipes/perl/perl-native_5.10.1.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Perl is a popular scripting language."
 HOMEPAGE = "http://www.perl.org/"
 SECTION = "libs"
 LICENSE = "Artistic|GPLv1+"
-PR = "r10"
+PR = "r11"
 NATIVE_INSTALL_WORKS = "1"
 INHIBIT_DEFAULT_DEPS = "1"
 PATCHTOOL = "patch"
@@ -105,6 +105,7 @@ do_install() {
 	done
 
 	create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
+	create_wrapper ${D}${bindir}/perl${PV} PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/'
 }
 
 do_install_append_nylon() {





More information about the Openembedded-commits mailing list