summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/MM_Unix.pm
diff options
context:
space:
mode:
authorEdward Moy <emoy@apple.com>2003-07-13 07:12:57 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-24 07:48:21 +0000
commit64222d737f7f4bf669dcd822491f13de376b9ee5 (patch)
treede1fd0473c6fef2cda0bb34aad7609043ef00fc5 /lib/ExtUtils/MM_Unix.pm
parent6af660ee01c05048b7704273e88e9249deb8202f (diff)
downloadperl-64222d737f7f4bf669dcd822491f13de376b9ee5.tar.gz
Re: problem with rc1 and rc2 on Mac OS X
Message-Id: <C66FBFAC-B576-11D7-89B5-0030657B317C@apple.com> p4raw-id: //depot/perl@20186
Diffstat (limited to 'lib/ExtUtils/MM_Unix.pm')
-rw-r--r--lib/ExtUtils/MM_Unix.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm
index 455121fd8e..a25c9f9007 100644
--- a/lib/ExtUtils/MM_Unix.pm
+++ b/lib/ExtUtils/MM_Unix.pm
@@ -3399,6 +3399,7 @@ sub prefixify {
print STDERR " prefixify $var => $path\n" if $Verbose >= 2;
print STDERR " from $sprefix to $rprefix\n" if $Verbose >= 2;
+ $rprefix .= '/' if $sprefix eq '/'; # Compensate for the slash.
if( $path !~ s{^\Q$sprefix\E\b}{$rprefix}s && $self->{ARGS}{PREFIX} ) {
print STDERR " cannot prefix, using default.\n" if $Verbose >= 2;