[oe-commits] : libwww-perl: direct PERL_ARCHLIB to STAGING_LIBDIR_NATIVE, instead of the host env

OE GIT Trial gittrial at amethyst.openembedded.net
Wed Aug 6 05:46:35 UTC 2008


Module: OE.dev
Branch: master
Commit: 4930978dd70ed09b5ff907fb0cf12b04c0ff0bbe
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=4930978dd70ed09b5ff907fb0cf12b04c0ff0bbe

Author:  <xjqian at openembedded.org>
Date:   Mon Aug  4 17:37:56 2008 +0000

libwww-perl: direct PERL_ARCHLIB to STAGING_LIBDIR_NATIVE, instead of the host env
* CAVEAT: perl/5.8.8 has to be hard coded, needs to be updated with each new perl version

---

 packages/perl/libwww-perl_5.808.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/packages/perl/libwww-perl_5.808.bb b/packages/perl/libwww-perl_5.808.bb
index 2bea48a..2bc9b76 100644
--- a/packages/perl/libwww-perl_5.808.bb
+++ b/packages/perl/libwww-perl_5.808.bb
@@ -3,10 +3,14 @@ SECTION = "libs"
 LICENSE = "Artistic"
 DEPENDS = "liburi-perl-native"
 RDEPENDS = "liburi-perl"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${PV}.tar.gz"
 
 S = "${WORKDIR}/libwww-perl-${PV}"
 
 inherit cpan
+
+do_configure_append() {
+    sed -i -e "s|PERL_ARCHLIB = /usr/lib/perl/5.8|PERL_ARCHLIB = ${STAGING_LIBDIR_NATIVE}/perl/5.8.8|" Makefile
+}





More information about the Openembedded-commits mailing list