[oe-commits] org.oe.dev liburi-perl: direct PERL_ARCHLIB to STAGING_LIBDIR_NATIVE, instead of the host env

xjqian commit oe at amethyst.openembedded.net
Mon Sep 1 17:56:22 UTC 2008


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

Author: xjqian at openembedded.org
Branch: org.openembedded.dev
Revision: 8255feabebd04e228e5a0558f18f07b7e6c13dd9
ViewMTN: http://monotone.openembedded.org/revision/info/8255feabebd04e228e5a0558f18f07b7e6c13dd9
Files:
1
packages/perl/liburi-perl_1.35.bb
Diffs:

#
# mt diff -r2873796e006d11d27cf466d502a70c2800820342 -r8255feabebd04e228e5a0558f18f07b7e6c13dd9
#
#
#
# patch "packages/perl/liburi-perl_1.35.bb"
#  from [d0232309024956a0930efe962141a14589bd56de]
#    to [0b656d160a124be74b71ebfb01e6cb1524a6dd80]
#
============================================================
--- packages/perl/liburi-perl_1.35.bb	d0232309024956a0930efe962141a14589bd56de
+++ packages/perl/liburi-perl_1.35.bb	0b656d160a124be74b71ebfb01e6cb1524a6dd80
@@ -2,10 +2,14 @@ LICENSE = "Artistic|GPL"
 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