summaryrefslogtreecommitdiff
path: root/lang/perl5.10
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.10
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>
Notes
Notes: svn path=/head/; revision=92488
Diffstat (limited to 'lang/perl5.10')
-rw-r--r--lang/perl5.10/Makefile2
-rw-r--r--lang/perl5.10/files/patch-MM_Unix.pm10
2 files changed, 11 insertions, 1 deletions
diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile
index b56c7be64984..142d726993be 100644
--- a/lang/perl5.10/Makefile
+++ b/lang/perl5.10/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.10/files/patch-MM_Unix.pm b/lang/perl5.10/files/patch-MM_Unix.pm
new file mode 100644
index 000000000000..7937392ae080
--- /dev/null
+++ b/lang/perl5.10/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;