From 9de6e0e37b6543d2234f9336d2e6c1ad844dac65 Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Wed, 2 Sep 2015 13:29:03 +0100 Subject: Simplify specification of INSTALLDIRS We do not need to check the lower bound since we only support Perl 5.8.1 and higher anyway. --- Changes | 5 +++-- Makefile.PL | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index 6d9eac5..d4ff7eb 100644 --- a/Changes +++ b/Changes @@ -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 -- cgit v1.2.3-24-ge0c7