Subject: | Set INSTALLDIRS to 'site' for 5.11 or higher versions |
Subject: | installdirs_for_5.11_or_higher_versions.patch |
diff --git a/Makefile.PL b/Makefile.PL
index f011321..8666526 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -5,7 +5,7 @@ WriteMakefile(
VERSION_FROM => 'lib/Filter/Simple.pm',
INSTALLDIRS => 'perl',
'LICENSE' => 'perl',
- 'INSTALLDIRS' => 'perl',
+ 'INSTALLDIRS' => $] < 5.011 ? 'perl' : 'site',
($] >= 5.005 ?
(ABSTRACT_FROM => 'lib/Filter/Simple.pm',
'AUTHOR' => 'Damian Conway') : ()),