about summary refs log tree commit
diff options
context:
space:
mode:
authorGraham Barr <gbarr@pobox.com>2003-06-13 09:01:56 +0000
committerGraham Barr <gbarr@pobox.com>2003-06-13 09:01:56 +0000
commitd0c9131d23aa327340cae09239dcf7b0adcc7279 (patch)
treed19b7a2a2e3ce41df7113de7fe52a0a5df7e86bc
parent95d032a6c2dd1424a4733e70d3cc7350c22f0eb4 (diff)
downloadperl-libnet-d0c9131d23aa327340cae09239dcf7b0adcc7279.tar.gz
Set INSTALLDIRS to 'perl' for perl >= 5.008
-rw-r--r--Makefile.PL1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 57a8581..f460826 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -89,6 +89,7 @@ if ($] >= 5.00503) {
 }
 
 WriteMakefile(
+  INSTALLDIRS => ($] >= 5.008 ? 'perl' : 'site'),
   VERSION     => $VERSION,
   DISTNAME    => $DISTNAME,
   NAME        => $NAME,