summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-11-03 20:04:05 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-11-03 20:04:05 +0000
commit0a13963e336437084e80dea4212894682fbaa73b (patch)
tree6c61aea6cf2a453dd78f53ba8fe904bef7162e1b /gnu/usr.bin
parent1c55fe135e92a3f05847b56c956f16fa4e9b66f2 (diff)
Back out a local OpenBSD change I adapted from a 5.6.1 change.
I don't think it is needed anymore and it breaks MM_Unix's prefixify test.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm b/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm
index 231dcd51288..ff813bc0ef0 100644
--- a/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm
+++ b/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm
@@ -3262,7 +3262,7 @@ sub prefixify {
print STDERR " prefixify $var => $path\n" if $Verbose >= 2;
print STDERR " from $sprefix to $rprefix\n" if $Verbose >= 2;
- unless( $path =~ s{^\Q$sprefix\E(?=/|\z)}{$rprefix}s ) {
+ unless( $path =~ s{^\Q$sprefix\E\b}{$rprefix}s ) {
print STDERR " cannot prefix, using default.\n" if $Verbose >= 2;
print STDERR " no default!\n" if !$default && $Verbose >= 2;