From 494bb99a4d1568db8d8515ca32b19a7a407ab15d Mon Sep 17 00:00:00 2001 From: mef Date: Sun, 10 May 2015 02:43:37 +0000 Subject: - To skip make test, add the line TEST_TARGET?= # to skip make test (but can be enabled by 'env TEST_TARGET=test make test') for following packages: devel/p5-File-ShareDir-Install time/p5-DateTime-Format-Strptime www/p5-LWP-Protocol-https - Add BUILD_DEPENDS for make test --- devel/p5-File-ShareDir-Install/Makefile | 4 +++- devel/p5-Test-CheckDeps/Makefile | 5 ++++- time/p5-DateTime-Format-Strptime/Makefile | 8 +++++++- www/p5-HTML-Form/Makefile | 6 +++++- www/p5-LWP-Protocol-https/Makefile | 6 ++++-- 5 files changed, 23 insertions(+), 6 deletions(-) diff --git a/devel/p5-File-ShareDir-Install/Makefile b/devel/p5-File-ShareDir-Install/Makefile index 74b77d47497..6c1312f87aa 100644 --- a/devel/p5-File-ShareDir-Install/Makefile +++ b/devel/p5-File-ShareDir-Install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2015/01/31 01:33:20 mef Exp $ +# $NetBSD: Makefile,v 1.10 2015/05/10 02:43:38 mef Exp $ DISTNAME= File-ShareDir-Install-0.10 PKGNAME= p5-${DISTNAME} @@ -10,6 +10,8 @@ HOMEPAGE= http://search.cpan.org/dist/File-ShareDir-Install/ COMMENT= Perl 5 module to install shared files LICENSE= ${PERL5_LICENSE} +TEST_TARGET?= # to skip make test (but can be enabled by 'env TEST_TARGET=test make test') + USE_LANGUAGES= # empty PERL5_PACKLIST= auto/File/ShareDir/Install/.packlist diff --git a/devel/p5-Test-CheckDeps/Makefile b/devel/p5-Test-CheckDeps/Makefile index 89ffda742eb..54f4fe2f945 100644 --- a/devel/p5-Test-CheckDeps/Makefile +++ b/devel/p5-Test-CheckDeps/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2015/01/28 01:57:41 mef Exp $ +# $NetBSD: Makefile,v 1.11 2015/05/10 02:43:38 mef Exp $ # DISTNAME= Test-CheckDeps-0.010 @@ -14,6 +14,9 @@ LICENSE= ${PERL5_LICENSE} DEPENDS+= {perl>=5.18.0,p5-CPAN-Meta>=2.120920}:../../devel/p5-CPAN-Meta DEPENDS+= p5-CPAN-Meta-Check>=0.007:../../devel/p5-CPAN-Meta-Check +# make test +BUILD_DEPENDS+= p5-Module-Metadata>=1.000023:../../devel/p5-Module-Metadata + USE_LANGUAGES= # empty PERL5_PACKLIST= auto/Test/CheckDeps/.packlist diff --git a/time/p5-DateTime-Format-Strptime/Makefile b/time/p5-DateTime-Format-Strptime/Makefile index ed733f191a8..433ef64691f 100644 --- a/time/p5-DateTime-Format-Strptime/Makefile +++ b/time/p5-DateTime-Format-Strptime/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2014/05/29 23:37:52 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2015/05/10 02:43:38 mef Exp $ DISTNAME= DateTime-Format-Strptime-1.54 PKGNAME= p5-${DISTNAME}00 @@ -16,6 +16,12 @@ DEPENDS+= p5-DateTime-Locale>=0.45:../../time/p5-DateTime-Locale DEPENDS+= p5-DateTime-TimeZone>=0.79:../../time/p5-DateTime-TimeZone DEPENDS+= p5-Params-Validate>=0.64:../../devel/p5-Params-Validate +# t/002_dates.t ............... 1/? +# # Failed test '%Y %H:%M:%S %Z' +# # at t/002_dates.t line 99. +# # got: '2003 13:45:56 AWST' +# # expected: '2003 13:45:56 WST' +TEST_TARGET?= # to skip make test, but can be enabled by 'env TEST_TARGET=test make test' PERL5_PACKLIST= auto/DateTime/Format/Strptime/.packlist .include "../../lang/perl5/module.mk" diff --git a/www/p5-HTML-Form/Makefile b/www/p5-HTML-Form/Makefile index cd064696f86..b68b6122550 100644 --- a/www/p5-HTML-Form/Makefile +++ b/www/p5-HTML-Form/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2014/05/29 23:38:05 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2015/05/10 02:43:37 mef Exp $ # DISTNAME= HTML-Form-6.03 @@ -15,6 +15,10 @@ LICENSE= ${PERL5_LICENSE} CONFLICTS+= p5-libwww<6.00 DEPENDS+= p5-HTTP-Date>=6.00:../../www/p5-HTTP-Date +# for make test +BUILD_DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI +BUILD_DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser +BUILD_DEPENDS+= p5-HTTP-Message-[0-9]*:../../www/p5-HTTP-Message USE_LANGUAGES= # empty diff --git a/www/p5-LWP-Protocol-https/Makefile b/www/p5-LWP-Protocol-https/Makefile index 0d4f22f6a59..84548ed74cb 100644 --- a/www/p5-LWP-Protocol-https/Makefile +++ b/www/p5-LWP-Protocol-https/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2014/05/29 23:38:11 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2015/05/10 02:43:37 mef Exp $ DISTNAME= LWP-Protocol-https-6.06 PKGNAME= p5-${DISTNAME} @@ -15,11 +15,13 @@ CONFLICTS+= p5-libwww<6.02 DEPENDS+= p5-IO-Socket-SSL>=1.38:../../security/p5-IO-Socket-SSL DEPENDS+= p5-Mozilla-CA>=20110101:../../security/p5-Mozilla-CA -# needed for tests, but p5-libwww depends on this package +# needed for tests (as LWP::UserAgent), but p5-libwww depends on this package #DEPENDS+= p5-libwww>=6.06:../../www/p5-libwww USE_LANGUAGES= # empty PERL5_PACKLIST= auto/LWP/Protocol/https/.packlist +TEST_TARGET?= # to skip make test (but can be enabled by 'env TEST_TARGET=test make test') + .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3