diff options
Diffstat (limited to 'ext/IO-Compress/Makefile.PL')
-rw-r--r-- | ext/IO-Compress/Makefile.PL | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/IO-Compress/Makefile.PL b/ext/IO-Compress/Makefile.PL index b939d5924c..e11cf8f153 100644 --- a/ext/IO-Compress/Makefile.PL +++ b/ext/IO-Compress/Makefile.PL @@ -22,7 +22,7 @@ WriteMakefile( ( $ENV{SKIP_FOR_CORE} - ? (MAN3PODS => {}) + ? () : (PREREQ_PM => { 'Compress::Raw::Bzip2' => $::VERSION, 'Compress::Raw::Zlib' => $::VERSION, $] >= 5.005 && $] < 5.006 @@ -38,6 +38,14 @@ WriteMakefile( : () ), + INSTALLDIRS => ($] >= 5.009 ? 'perl' : 'site'), + + ( + $] >= 5.009 && ! $ENV{PERL_CORE} + ? (INST_LIB => 'blib/arch') + : () + ), + ((ExtUtils::MakeMaker->VERSION() gt '6.30') ? ('LICENSE' => 'perl') : ()), |