summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-11-03 20:04:04 +0000
committermillert <millert@openbsd.org>2002-11-03 20:04:04 +0000
commite8fa02693a1b730630352667efb73f64f029850a (patch)
tree591836fb1728215d913d278ff1564af1539fe391 /gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm
parentThe regex used in ExtUtils-MakeMaker-6.05 to check for pod didn't match (diff)
downloadwireguard-openbsd-e8fa02693a1b730630352667efb73f64f029850a.tar.xz
wireguard-openbsd-e8fa02693a1b730630352667efb73f64f029850a.zip
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/perl/lib/ExtUtils/MM_Unix.pm')
-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;