about summary refs log tree commit
path: root/Makefile.PL
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2015-04-01 08:55:49 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2015-04-01 08:55:49 +0100
commite0eae7a292668ac71f5cdc5695b981241d7e205f (patch)
tree2deb3ff069f3a4ef5e591d7238a4b81df73f7772 /Makefile.PL
parentf695c318f6877204753ef316dd87bb421d76ecfb (diff)
downloadperl-libnet-e0eae7a292668ac71f5cdc5695b981241d7e205f.tar.gz
Fix INSTALLDIRS to account for the @INC reordering change in Perl 5.12
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index b8dba7c..af24976 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -209,7 +209,7 @@ MAIN: {
             'vars'           => '0'
         },
 
-        INSTALLDIRS => 'perl',
+        INSTALLDIRS => ($] >= 5.008 && $] < 5.011) ? 'perl' : 'site',
 
         realclean => {
             FILES => $CfgFile