From: Jamie Lenehan Date: Tue, 24 Apr 2007 13:57:31 +0000 (+0000) Subject: perl 5.8.8: Replace host paths from the configuration file that is to be X-Git-Tag: Release-2010-05/1~8868^2~660^2~55 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a76edae15ea6d3bfb442e3a4d189f174e6b39d0;p=openembedded.git 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. --- 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() {