summaryrefslogtreecommitdiff
path: root/time/p5-Time-HiRes
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2003-12-28 00:27:08 +0000
committerheinz <heinz@pkgsrc.org>2003-12-28 00:27:08 +0000
commitcb86a36146f312155343b2349261b842f4eec02a (patch)
tree6f797387c660f9043707702ec31b1a65048bba16 /time/p5-Time-HiRes
parent4a8ff80952b7526fe98ddae7e52dad01766e9f53 (diff)
downloadpkgsrc-cb86a36146f312155343b2349261b842f4eec02a.tar.gz
Add hints file for Solaris to enable nanosleep()
Diffstat (limited to 'time/p5-Time-HiRes')
-rw-r--r--time/p5-Time-HiRes/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/time/p5-Time-HiRes/Makefile b/time/p5-Time-HiRes/Makefile
index efd9e363ae0..082a21bfb76 100644
--- a/time/p5-Time-HiRes/Makefile
+++ b/time/p5-Time-HiRes/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2003/12/03 10:52:27 chris Exp $
+# $NetBSD: Makefile,v 1.12 2003/12/28 00:27:08 heinz Exp $
#
DISTNAME= Time-HiRes-1.52
PKGNAME= p5-${DISTNAME}
+PKGREVISION= 1
SVR4_PKGNAME= p5thr
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Time/}
@@ -16,5 +17,9 @@ USE_BUILDLINK2= YES
PERL5_CONFIGURE= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Time/HiRes/.packlist
+pre-configure:
+ @ # On Solaris link against librt to pull in nanosleep
+ @ ${ECHO} "\$$self->{LIBS} = ['-lrt'];" >> ${WRKSRC}/hints/solaris.pl
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"