summaryrefslogtreecommitdiff
path: root/lang/perl5.8/files
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2003-10-28 21:55:24 +0000
committerAnton Berezin <tobez@FreeBSD.org>2003-10-28 21:55:24 +0000
commit94c2da6051f4d072aea5ab121a90d0d28462ad20 (patch)
tree4d5a6074fd4c0d2a04fb6f31713d0ea8baca1cd5 /lang/perl5.8/files
parent- Bump PORTREVISION missed by my last commit (diff)
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>
Diffstat (limited to 'lang/perl5.8/files')
-rw-r--r--lang/perl5.8/files/patch-MM_Unix.pm10
1 files changed, 10 insertions, 0 deletions
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;