summaryrefslogtreecommitdiff
path: root/packages/perl
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-08-04 17:37:56 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-08-04 17:37:56 +0000
commit3bdd303875cb479f311afdd6cead1ee79f7c7ea3 (patch)
tree5e39fba004148d368d56b37e8ba286dbddc9b858 /packages/perl
parent3eda3cdb2c745b5e0ce7348e78c67be1917179f3 (diff)
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
Diffstat (limited to 'packages/perl')
-rw-r--r--packages/perl/libwww-perl_5.808.bb6
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 2bea48a2d0..2bc9b76f9b 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
+}