summaryrefslogtreecommitdiff
path: root/lang/perl5.10/files/patch-MM_Any.pm
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2012-03-11 23:49:09 +0000
committerMark Linimon <linimon@FreeBSD.org>2012-03-11 23:49:09 +0000
commit7047959f240813dd8e23b0962c0e5e605cd1d142 (patch)
tree691b175a94411098f1a16b6804d31984c2464863 /lang/perl5.10/files/patch-MM_Any.pm
parentPortaudit 0.6.0: (diff)
Undo ports/165457 to not violate POLA. As far as I knew, the PR
was to test what happened when we did eventually delete these two ports, not to delete them immediately. A subsequent commit will add appropriate deprecation messages. Hat: portmgr PR: ports/165457 Feature safe: yes (actually no, however, this is to preserve POLA)
Diffstat (limited to 'lang/perl5.10/files/patch-MM_Any.pm')
-rw-r--r--lang/perl5.10/files/patch-MM_Any.pm18
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/perl5.10/files/patch-MM_Any.pm b/lang/perl5.10/files/patch-MM_Any.pm
new file mode 100644
index 000000000000..4e50627b00a8
--- /dev/null
+++ b/lang/perl5.10/files/patch-MM_Any.pm
@@ -0,0 +1,18 @@
+--- lib/ExtUtils/MM_Any.pm.orig Wed Feb 15 12:20:43 2006
++++ lib/ExtUtils/MM_Any.pm Wed Feb 15 12:22:29 2006
+@@ -1069,13 +1069,14 @@ sub init_INSTALL_from_PREFIX {
+ ('$(PREFIX)') x 3;
+ }
+ else {
++ $self->{PREFIX} ||= $iprefix;
+ $self->{PERLPREFIX} ||= $iprefix;
+ $self->{SITEPREFIX} ||= $sprefix;
+ $self->{VENDORPREFIX} ||= $vprefix;
+
+ # Lots of MM extension authors like to use $(PREFIX) so we
+ # put something sensible in there no matter what.
+- $self->{PREFIX} = '$('.uc $self->{INSTALLDIRS}.'PREFIX)';
++ #$self->{PREFIX} = '$('.uc $self->{INSTALLDIRS}.'PREFIX)';
+ }
+
+ my $arch = $Config{archname};