From: Junqian Gordon Xu Date: Mon, 4 Aug 2008 17:38:50 +0000 (+0000) Subject: liburi-perl: direct PERL_ARCHLIB to STAGING_LIBDIR_NATIVE, instead of the host env X-Git-Tag: Release-2010-05/1~6347^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff0991176a952b745d83166677939eadd0483476;p=openembedded.git 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 --- diff --git a/packages/perl/liburi-perl_1.35.bb b/packages/perl/liburi-perl_1.35.bb index 23116aced9..5c1c427c24 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 +}