From 0a76edae15ea6d3bfb442e3a4d189f174e6b39d0 Mon Sep 17 00:00:00 2001 From: Jamie Lenehan Date: Tue, 24 Apr 2007 13:57:31 +0000 Subject: perl 5.8.8: Replace host paths from the configuration file that is to be installed on the target with those that are suitable for the target. This has no effect on actually using perl but would have an effect on trying to build perl modules on the target. --- packages/perl/perl_5.8.8.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/perl/perl_5.8.8.bb b/packages/perl/perl_5.8.8.bb index cb6014c085..6e79066afa 100644 --- a/packages/perl/perl_5.8.8.bb +++ b/packages/perl/perl_5.8.8.bb @@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL" PRIORITY = "optional" # We need gnugrep (for -I) DEPENDS = "virtual/db perl-native grep-native" -PR = "r2" +PR = "r3" # Major part of version PVM = "5.8" @@ -109,7 +109,11 @@ do_install() { # Fix up installed configuration if test "${MACHINE}" != "native"; then - sed -i -e "s,${D},,g" ${D}/${libdir}/perl/${PV}/Config_heavy.pl + sed -i -e "s,${D},,g" \ + -e "s,-isystem${STAGING_INCDIR} ,,g" \ + -e "s,${STAGING_LIBDIR},${libdir},g" \ + -e "s,${STAGING_INCDIR},${includedir},g" \ + ${D}/${libdir}/perl/${PV}/Config_heavy.pl fi } do_stage() { -- cgit v1.2.3