summaryrefslogtreecommitdiff
path: root/dist/IO
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2013-04-13 17:45:10 +0100
committerJames E Keenan <jkeenan@cpan.org>2013-04-14 06:52:59 +0100
commit262731eedb57f5384b69ab925580eb75e90180b7 (patch)
tree364f1eab0d4f48823041c07c3078e9dcdc13b445 /dist/IO
parentffc8163459b527fe692284958365016d02c16c86 (diff)
downloadperl-262731eedb57f5384b69ab925580eb75e90180b7.tar.gz
Subject: [PATCH] Update INSTALLDIRS to favor installation under 'site'.
For: RT #116479
Diffstat (limited to 'dist/IO')
-rw-r--r--dist/IO/IO.pm2
-rw-r--r--dist/IO/Makefile.PL2
2 files changed, 2 insertions, 2 deletions
diff --git a/dist/IO/IO.pm b/dist/IO/IO.pm
index 2e021c4c8a..35aba10558 100644
--- a/dist/IO/IO.pm
+++ b/dist/IO/IO.pm
@@ -7,7 +7,7 @@ use Carp;
use strict;
use warnings;
-our $VERSION = "1.27";
+our $VERSION = "1.28";
XSLoader::load 'IO', $VERSION;
sub import {
diff --git a/dist/IO/Makefile.PL b/dist/IO/Makefile.PL
index 70ffe12acf..7783cf995d 100644
--- a/dist/IO/Makefile.PL
+++ b/dist/IO/Makefile.PL
@@ -39,7 +39,7 @@ WriteMakefile(
( $PERL_CORE
? ()
: (
- INSTALLDIRS => 'perl',
+ INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'),
clean => {FILES => 'typemap'},
)
),