[oe-commits] : liburi-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:28 UTC 2008


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

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

liburi-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/liburi-perl_1.35.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/packages/perl/liburi-perl_1.35.bb b/packages/perl/liburi-perl_1.35.bb
index 23116ac..5c1c427 100644
--- a/packages/perl/liburi-perl_1.35.bb
+++ b/packages/perl/liburi-perl_1.35.bb
@@ -2,10 +2,14 @@ DESCRIPTION = "Manipulates and accesses URI strings"
 SECTION = "libs"
 LICENSE = "Artistic|GPL"
 #RDEPENDS += " libmime-base64-perl libnet-perl"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-${PV}.tar.gz"
 
 S = "${WORKDIR}/URI-${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