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 50ce00b..ceb7419 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 edd0618..603280b 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"