aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.14
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2003-10-29 05:55:24 +0800
committertobez <tobez@FreeBSD.org>2003-10-29 05:55:24 +0800
commit3e4c2e1bcbd85ef10c23c963070a7679a9dcf841 (patch)
tree6ed53c940541cbeba60e6e57b571b2059eabbf54 /lang/perl5.14
parenteafc660528ad3a2625253b78b01f6bb563c2709d (diff)
downloadfreebsd-ports-gnome-3e4c2e1bcbd85ef10c23c963070a7679a9dcf841.tar.gz
freebsd-ports-gnome-3e4c2e1bcbd85ef10c23c963070a7679a9dcf841.tar.zst
freebsd-ports-gnome-3e4c2e1bcbd85ef10c23c963070a7679a9dcf841.zip
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.14')
-rw-r--r--lang/perl5.14/Makefile2
-rw-r--r--lang/perl5.14/files/patch-MM_Unix.pm10
2 files changed, 11 insertions, 1 deletions
diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile
index b56c7be64984..142d726993be 100644
--- a/lang/perl5.14/Makefile
+++ b/lang/perl5.14/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.14/files/patch-MM_Unix.pm b/lang/perl5.14/files/patch-MM_Unix.pm
new file mode 100644
index 000000000000..7937392ae080
--- /dev/null
+++ b/lang/perl5.14/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;