summaryrefslogtreecommitdiff
path: root/time/p5-Time-HiRes
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2002-11-15 02:50:24 +0000
committerheinz <heinz@pkgsrc.org>2002-11-15 02:50:24 +0000
commit379905fda0478a85be06b98094185dc92f2e8c83 (patch)
tree665e3802c2d56c8e0438ac81fba3928662f2646e /time/p5-Time-HiRes
parent4aee6aafd88b10ad9d3316d03c62096a7ad2786b (diff)
downloadpkgsrc-379905fda0478a85be06b98094185dc92f2e8c83.tar.gz
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
Diffstat (limited to 'time/p5-Time-HiRes')
-rw-r--r--time/p5-Time-HiRes/DESCR5
-rw-r--r--time/p5-Time-HiRes/Makefile11
-rw-r--r--time/p5-Time-HiRes/distinfo7
-rw-r--r--time/p5-Time-HiRes/patches/patch-aa12
4 files changed, 26 insertions, 9 deletions
diff --git a/time/p5-Time-HiRes/DESCR b/time/p5-Time-HiRes/DESCR
index dc2ab84f1df..1902fc061da 100644
--- a/time/p5-Time-HiRes/DESCR
+++ b/time/p5-Time-HiRes/DESCR
@@ -1,2 +1,3 @@
-Implement usleep, ualarm, and gettimeofday for Perl, as well as wrappers
-to implement time, sleep, and alarm that know about non-integral seconds.
+Implement usleep, ualarm, setitimer/getitimer and gettimeofday for Perl,
+as well as wrappers to implement time, sleep, and alarm that know about
+non-integral seconds.
diff --git a/time/p5-Time-HiRes/Makefile b/time/p5-Time-HiRes/Makefile
index 96c08bdaea8..d82d2474c02 100644
--- a/time/p5-Time-HiRes/Makefile
+++ b/time/p5-Time-HiRes/Makefile
@@ -1,19 +1,22 @@
-# $NetBSD: Makefile,v 1.2 2002/10/20 17:46:02 seb Exp $
+# $NetBSD: Makefile,v 1.3 2002/11/15 02:50:24 heinz Exp $
#
-DISTNAME= Time-HiRes-01.20
-PKGNAME= p5-Time-HiRes-01.20
+DISTNAME= Time-HiRes-1.38
+PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5thr
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Time/}
MAINTAINER= bad@netbsd.org
+HOMEPAGE= http://search.cpan.org/author/JHI/Time-HiRes/
COMMENT= perl5 module for high resolution time, sleep, and alarm
USE_BUILDLINK2= YES
+
+PERL5_CONFIGURE= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Time/HiRes/.packlist
-WRKSRC= ${WRKDIR}/Time-HiRes-01.20
+TEST_TARGET= test
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/time/p5-Time-HiRes/distinfo b/time/p5-Time-HiRes/distinfo
index ba533770289..263405c1ff7 100644
--- a/time/p5-Time-HiRes/distinfo
+++ b/time/p5-Time-HiRes/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1 2002/07/05 06:58:33 tron Exp $
+$NetBSD: distinfo,v 1.2 2002/11/15 02:50:24 heinz Exp $
-SHA1 (Time-HiRes-01.20.tar.gz) = baae7d6a3fea1e060174e4887df63aa363c6294c
-Size (Time-HiRes-01.20.tar.gz) = 11330 bytes
+SHA1 (Time-HiRes-1.38.tar.gz) = bdf4203d567c228894b39cdf83d8219a9e8b8893
+Size (Time-HiRes-1.38.tar.gz) = 24176 bytes
+SHA1 (patch-aa) = 1d8935dba28d16468675c4c52bd910750ae59bb5
diff --git a/time/p5-Time-HiRes/patches/patch-aa b/time/p5-Time-HiRes/patches/patch-aa
new file mode 100644
index 00000000000..770270d43b8
--- /dev/null
+++ b/time/p5-Time-HiRes/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2002/11/15 02:50:24 heinz Exp $
+
+--- Makefile.PL.orig Sun Oct 13 19:20:37 2002
++++ Makefile.PL
+@@ -365,7 +365,6 @@ 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',
+ 'dist' => {
+ 'CI' => 'ci -l',
+ 'COMPRESS' => 'gzip -9f',