summaryrefslogtreecommitdiffstats
path: root/lang/perl5.8/files
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2003-10-28 21:55:24 +0000
committertobez <tobez@FreeBSD.org>2003-10-28 21:55:24 +0000
commit3e4c2e1bcbd85ef10c23c963070a7679a9dcf841 (patch)
tree6ed53c940541cbeba60e6e57b571b2059eabbf54 /lang/perl5.8/files
parenteafc660528ad3a2625253b78b01f6bb563c2709d (diff)
downloadFreeBSD-ports-3e4c2e1bcbd85ef10c23c963070a7679a9dcf841.zip
FreeBSD-ports-3e4c2e1bcbd85ef10c23c963070a7679a9dcf841.tar.gz
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 0000000..7937392
--- /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;
OpenPOWER on IntegriCloud