[oe-commits] org.oe.dev libwww-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:18 UTC 2008


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

Author: xjqian at openembedded.org
Branch: org.openembedded.dev
Revision: 2873796e006d11d27cf466d502a70c2800820342
ViewMTN: http://monotone.openembedded.org/revision/info/2873796e006d11d27cf466d502a70c2800820342
Files:
1
packages/perl/libwww-perl_5.808.bb
Diffs:

#
# mt diff -r3b55b3d4dab361ee197328e4900775615656dd7e -r2873796e006d11d27cf466d502a70c2800820342
#
#
#
# patch "packages/perl/libwww-perl_5.808.bb"
#  from [c76a162b7e6844022d4b9826386bfeed71c6328e]
#    to [949fd21bc7d09a20e04de4a163560dca8a5ddce0]
#
============================================================
--- packages/perl/libwww-perl_5.808.bb	c76a162b7e6844022d4b9826386bfeed71c6328e
+++ packages/perl/libwww-perl_5.808.bb	949fd21bc7d09a20e04de4a163560dca8a5ddce0
@@ -3,10 +3,14 @@ RDEPENDS = "liburi-perl"
 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