diff options
author | ache <ache@FreeBSD.org> | 1998-11-15 15:26:12 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1998-11-15 15:26:12 +0000 |
commit | 1ffd64f1345cc5467a666cb99769107c028c1983 (patch) | |
tree | bc71a05e25a5eb99a125c1f71cc1d1e74724a973 /contrib/perl5 | |
parent | 9f73480e5b7f3277bd0999f8d441fd9f5814425b (diff) | |
download | FreeBSD-src-1ffd64f1345cc5467a666cb99769107c028c1983.zip FreeBSD-src-1ffd64f1345cc5467a666cb99769107c028c1983.tar.gz |
Prevent MakeMaker to produce /usr/local/local/bin path for
INSTALLSCRIPT and INSTALLBIN: it broke ports
Diffstat (limited to 'contrib/perl5')
-rw-r--r-- | contrib/perl5/lib/ExtUtils/MM_Unix.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/perl5/lib/ExtUtils/MM_Unix.pm b/contrib/perl5/lib/ExtUtils/MM_Unix.pm index dc21478..421bd54 100644 --- a/contrib/perl5/lib/ExtUtils/MM_Unix.pm +++ b/contrib/perl5/lib/ExtUtils/MM_Unix.pm @@ -8,8 +8,8 @@ use strict; use vars qw($VERSION $Is_Mac $Is_OS2 $Is_VMS $Is_Win32 $Is_Dos $Is_PERL_OBJECT $Verbose %pm %static $Xsubpp_Version); -$VERSION = substr q$Revision: 1.1.1.1 $, 10; -# $Id: MM_Unix.pm,v 1.1.1.1 1998/09/09 06:59:54 markm Exp $ +$VERSION = substr q$Revision: 1.2 $, 10; +# $Id: MM_Unix.pm,v 1.2 1998/09/09 13:10:46 markm Exp $ Exporter::import('ExtUtils::MakeMaker', qw( $Verbose &neatvalue)); @@ -1707,11 +1707,12 @@ usually solves this kind of problem. # prefix/lib/perl5/man/ INSTALLMAN1DIR $replace_prefix = qq[\$\(PREFIX\)]; + $search_prefix = $self->catdir($configure_prefix,"local"); for $install_variable (qw/ INSTALLBIN INSTALLSCRIPT /) { - $self->prefixify($install_variable,$configure_prefix,$replace_prefix); + $self->prefixify($install_variable,$search_prefix,$replace_prefix); } $search_prefix = $configure_prefix =~ /perl/ ? $self->catdir($configure_prefix,"lib") : |