diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2015-09-02 13:29:03 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2015-09-02 13:29:03 +0100 |
commit | 9de6e0e37b6543d2234f9336d2e6c1ad844dac65 (patch) | |
tree | 74607efe28dc7c2583e036a47158ea36738c03d5 | |
parent | 11a61062655adc412e69716b847c8acdd36756d8 (diff) | |
download | perl-libnet-9de6e0e37b6543d2234f9336d2e6c1ad844dac65.tar.gz |
Simplify specification of INSTALLDIRS
We do not need to check the lower bound since we only support Perl 5.8.1 and higher anyway.
-rw-r--r-- | Changes | 5 | ||||
-rw-r--r-- | Makefile.PL | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -2,7 +2,8 @@ Revision history for Perl distribution libnet 3.08 Development - - TODO + - Simplify specification of INSTALLDIRS: We do not need to check the lower + bound since we only support Perl 5.8.1 and higher anyway. 3.07 2015-07-17 @@ -56,7 +57,7 @@ Revision history for Perl distribution libnet - Fixed INSTALLDIRS to account for the @INC reordering change in Perl 5.12. See Perl RT#116479 for details. (libnet entered the perl core in Perl - 5.7.3 so that's what the lower bound of the check should strictly be, but + 5.7.2 so that's what the lower bound of the check should strictly be, but since we only support Perl 5.8.1 and higher anyway it suffices to check for Perl 5.8. The upper bound is correctly Perl 5.11.0 since the @INC reordering change in question (Perl core commit #b9ba2fadb1) first diff --git a/Makefile.PL b/Makefile.PL index 624ea28..64d6959 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -210,7 +210,7 @@ MAIN: { 'vars' => '0' }, - INSTALLDIRS => ($] >= 5.008 && $] < 5.011) ? 'perl' : 'site', + INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'), realclean => { FILES => $CfgFile |