]> git.openpandora.org Git - openembedded.git/commitdiff
perl 5.8.8: Fix the regexp for removing /usr/local paths - it was eating the
authorJamie Lenehan <lenehan@twibble.org>
Thu, 14 Jun 2007 01:58:22 +0000 (01:58 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Thu, 14 Jun 2007 01:58:22 +0000 (01:58 +0000)
seperating space in some cases. Report as part of #2483.

packages/perl/perl-5.8.8/generate-sh.patch
packages/perl/perl_5.8.8.bb

index 50ce00b42f98b0559da1f38410fc4d011948959e..ceb74196d687036a298d98a783e37ea54fd5c414 100644 (file)
@@ -35,7 +35,7 @@ Index: perl-5.8.8/Cross/generate_config_sh
 +              $value =~ s/^\'//;
 +              $value =~ s/\'$//;
 +              # Remove -I/usr/local/... from the value
-+              $value =~ s#\W-I/usr/local/\w+\W##g;
++              $value =~ s#\W-I/usr/local/\w+\W# #g;
 +              # Prepend env var (OE setting) to value
 +              print("$key=\'$ENV{$envvar} $value\'\n");
 +      }
index edd0618a8604441cc6506c5747f042633bf400e3..603280b4238e8982797799d6dbc845da456f756c 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
 PRIORITY = "optional"
 # We need gnugrep (for -I)
 DEPENDS = "virtual/db perl-native grep-native"
-PR = "r20"
+PR = "r21"
 
 # Major part of version
 PVM = "5.8"