From 94c2da6051f4d072aea5ab121a90d0d28462ad20 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Tue, 28 Oct 2003 21:55:24 +0000 Subject: 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 --- lang/perl5.8/Makefile | 2 +- lang/perl5.8/files/patch-MM_Unix.pm | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 lang/perl5.8/files/patch-MM_Unix.pm (limited to 'lang/perl5.8') diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile index b56c7be64984..142d726993be 100644 --- a/lang/perl5.8/Makefile +++ b/lang/perl5.8/Makefile @@ -7,7 +7,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VER} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ ${MASTER_SITE_LOCAL:S/$/:local/} \ diff --git a/lang/perl5.8/files/patch-MM_Unix.pm b/lang/perl5.8/files/patch-MM_Unix.pm new file mode 100644 index 000000000000..7937392ae080 --- /dev/null +++ b/lang/perl5.8/files/patch-MM_Unix.pm @@ -0,0 +1,10 @@ +--- 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; -- cgit v1.2.3