pkgsrc/time/p5-Time-HiRes/Makefile

21 lines
547 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2005/04/11 21:47:44 tv Exp $
#
Update p5-Time-HiRes to 1.66. Changes since 1.59: 1.66 - add nanosleep() - fix the 'hierachy' typo in Makefile.PL [rt.cpan.org #8492] - should now build in Solaris [rt.cpan.org #7165] (since 1.64) - should now build in Cygwin [rt.cpan.org #7535] (since 1.64) - close also [rt.cpan.org #5933] "Time::HiRes::time does not pick up time adjustments like ntp" since ever reproducing it in the same environment has become rather unlikely 1.65 - one should not mix u?alarm and sleep (the tests modified by 1.65, #12 and #13, hung in Solaris), now we just busy loop executing an empty block - in the documentation underline the unspecificity of mixing sleeps and alarms - small spelling fixes 1.64 - regenerate ppport.h with Devel::PPPort 3.03, now the MY_CXT_CLONE is defined in ppport.h, we no more need to do that. - the test #12 would often hang in sigsuspend() (at least that's where Mac OS X' ktrace shows it hanging). With the sleep()s changed to sleep(1)s, the tests still pass but no hang after a few hundred repeats. 1.63 - Win32 and any ithread build: ppport.h didn't define MY_CXT_CLONE, which seems to be a Time-HiResism. 1.62 - Skip testing if under PERL_CORE and Time::HiRes has not been Configured (from Marcus Holland-Moritz, core change #23246) - Use ppport.h generated by Devel::PPPort 3.01, allowing cutting away our own portability code. - Don't use $ENV{PERL_CORE} for < 5.6.0. - Don't use "for my $i" for <= 5.003. - Don't use Pause() for <= 5.003. - Can't use newSVpvf for <= 5.003. (most of the changes from Marcus) 1.61 - Win32: reset reading from the performance counters every five minutes to better track wall clock time (thanks to PC timers being often quite bad), should help long-running programs. 1.60 - Win32: Patch from Steve Hay [PATCH] Re: [perl #30755] [Win32] Different results from Time::HiRes::gettimeofdayunder the debugger to [perl #30755] reported by Nigel Sandever - Cygwin: Use the Win32 recalibration code also in Cygwin if the <w32api/windows.h> APIs are available. Cygwin testing by Yitzchak Scott-Thoennes. - Solaris: use -lposix4 to get nanosleep for Solaris 2.6, after that keep using -lrt, patch from Alan Burlison, bug reported in [cpan #7165]
2005-01-20 22:07:51 +01:00
DISTNAME= Time-HiRes-1.66
Update to 1.38 Revision history for Perl extension Time::HiRes. 1.38 - no functional changes - move lib/Time/HiRes.pm as Hires.pm - libraries scanning was slightly broken (always scanned for a library even when $Config{libs} already had it) 1.37 - Ray Zimmerman ran into a race condition in Mac OS X. A 0.01-second alarm fired before the test expected. The test first slept indefinitely (blocking for signals) and only after that tested for the signal having been sent. Since the signal had already been sent, the test #12 never completed. The solution: test first, then block. - default to being silent on all probing attempts, set the environment variable VERBOSE to a true value to see the details (the probing command and the possible errors) 1.36 - do not clear MAN3PODS in Makefile.PL (Radoslaw Zielinski) - INSTALLDIRS => 'perl' missing which means that Time::HiRes cannot be upgraded from CPAN to override the 5.8.0 version (Guido A. Ostkamp) - Time::HiRes 1.35 could not be dropped as-is to bleadperl because the include directories did not adjust themselves if $ENV{PERL_CORE} (Hugo van der Sanden) - add documentation about the restart of select() under alarm() 1.35 - small documentation tweaks 1.34 - better VMS operation (Craig Berry) 1.33 - our time machine is accelerating: now works with Perl 5.004_01 (tried with 5.003_07 and 5.002 but I get segmentation faults from running the Makefile.PL with those in Tru64 4.0D) 1.31 and 1.32 add more backward compatibility (now all the way back to Perl 5.00404), and using nanosleep() (if available) for subsecond sleeps. 1.30 adds all the changes made during the Perl 5.6->5.7->5.8 development cycle. Most notably portability across platforms has been enhanced, and the interval timers (setitimer, getitimer) have been added. Note that the version of Time::HiRes that is included in Perl 5.8.0 calls itself 1.20_00, but it is equivalent to this Time::HiRes version. Note also that in 1.30 Wegscheid turns over the maintenance to Jarkko Hietaniemi. 1.20
2002-11-15 03:50:24 +01:00
PKGNAME= p5-${DISTNAME}
PKGREVISION= # empty
SVR4_PKGNAME= p5thr
CATEGORIES= time perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Time/}
2003-07-18 00:50:55 +02:00
MAINTAINER= bad@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Time-HiRes/
COMMENT= Perl5 module for high resolution time, sleep, and alarm
2004-01-05 23:16:24 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Time/HiRes/.packlist
2002-10-20 19:45:59 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"