d27bfa44c8
Patch from Jeremy C. Reed via PR pkg/20321. Changes: 1.42: ===== - modernize the constants code (from Nicholas Clark) 1.41: ===== - At some point the ability to figure our the correct incdir for EXTERN.h (either a core perl build, or an installed perl) had broken (which lead into all test compiles failing with a core perl build, but thanks to the robustness of Makefile.PL nothing of was visible). The brokenness seemed to be caused by $ENV{PERL_CORE} not being on for core builds? Now stole a trick from the Encode that sets $ENV{PERL_CORE} right, and both styles of build should work again. 1.40: ===== - Nicholas Clark noticed that the my_catdir() emulation function was broken (which means that we didn't really work for Perls 5.002 and 5.003) - inspired by fixing the above made the whole Makefile.PL -w and strict clean - tightened up the Makefile.PL output, less whitespace 1.39: ===== - fix from Craig Berry for better building in VMS with PERL_CORE
22 lines
552 B
Makefile
22 lines
552 B
Makefile
# $NetBSD: Makefile,v 1.4 2003/02/15 09:43:52 salo Exp $
|
|
#
|
|
|
|
DISTNAME= Time-HiRes-1.42
|
|
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
|
|
|
|
TEST_TARGET= test
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|