about summary refs log tree commit
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2015-09-02 13:29:03 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2015-09-02 13:29:03 +0100
commit9de6e0e37b6543d2234f9336d2e6c1ad844dac65 (patch)
tree74607efe28dc7c2583e036a47158ea36738c03d5
parent11a61062655adc412e69716b847c8acdd36756d8 (diff)
downloadperl-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--Changes5
-rw-r--r--Makefile.PL2
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