From: Steve Peters Date: Tue, 18 Oct 2005 10:52:01 +0000 (+0000) Subject: Upgrade to Time-HiRes-1.75 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9649b81b974723b45fde1b99b473c7d475db6cbd;p=p5sagit%2Fp5-mst-13.2.git Upgrade to Time-HiRes-1.75 p4raw-id: //depot/perl@25789 --- diff --git a/ext/Time/HiRes/Changes b/ext/Time/HiRes/Changes index b034efd..8c25a10 100644 --- a/ext/Time/HiRes/Changes +++ b/ext/Time/HiRes/Changes @@ -1,5 +1,9 @@ Revision history for Perl extension Time::HiRes. +1.75 [2005-10-18] + - installation patch from Gisle Aas: in Perls 5.8.x and later + use MakeMaker INSTALLDIRS value of 'perl' instead of 'site'. + 1.74 [2005-09-19] - [cpan #14608] Solaris 8 perl 5.005_03 File::Spec module does not have method rel2abs (the workaround is not to use rel2abs, should not be necessary) diff --git a/ext/Time/HiRes/HiRes.pm b/ext/Time/HiRes/HiRes.pm index bc1d38d..1a38b1e 100644 --- a/ext/Time/HiRes/HiRes.pm +++ b/ext/Time/HiRes/HiRes.pm @@ -15,7 +15,7 @@ require DynaLoader; d_usleep d_ualarm d_gettimeofday d_getitimer d_setitimer d_nanosleep); -$VERSION = '1.74'; +$VERSION = '1.75'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; diff --git a/ext/Time/HiRes/Makefile.PL b/ext/Time/HiRes/Makefile.PL index b2caf92..386958f 100644 --- a/ext/Time/HiRes/Makefile.PL +++ b/ext/Time/HiRes/Makefile.PL @@ -448,7 +448,7 @@ sub doMakefile { 'XSOPT' => $XSOPT, # do not even think about 'INC' => '-I/usr/ucbinclude', Solaris will avenge. 'INC' => '', # e.g., '-I/usr/include/other' - 'INSTALLDIRS' => 'perl', + 'INSTALLDIRS' => ($] >= 5.008 ? 'perl' : 'site'), 'dist' => { 'CI' => 'ci -l', 'COMPRESS' => 'gzip -9f',