freebsd-ports/lang/perl5.8/files/patch-MM_Unix.pm
Anton Berezin 94c2da6051 Under certain conditions (perl Makefile.PL used directly or by proxy,
without PERL_CONFIGURE trickery), the interaction of 5.8.1's MakeMaker
and BSDPAN can lead to parts of perl-using ports to be installed to
/lib, which is bad.  Fix that.

Reported by:	Mike Harding <mvh@ix.netcom.com>
2003-10-28 21:55:24 +00:00

10 lines
390 B
Perl

--- lib/ExtUtils/MM_Unix.pm.orig Tue Oct 28 22:12:01 2003
+++ lib/ExtUtils/MM_Unix.pm Tue Oct 28 22:14:18 2003
@@ -2089,6 +2089,7 @@
('$(PREFIX)') x 3;
}
else {
+ $self->{PREFIX} ||= $iprefix; # for FreeBSD ports collection
$self->{PERLPREFIX} ||= $iprefix;
$self->{SITEPREFIX} ||= $sprefix;
$self->{VENDORPREFIX} ||= $vprefix;