Enable Commented out DEPENDS+= for make test by using BUILD_DEPENDS.

This commit is contained in:
mef 2015-03-17 12:36:26 +00:00
parent 153363f4e5
commit cccb9d7902

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2015/03/17 01:17:13 mef Exp $
# $NetBSD: Makefile,v 1.11 2015/03/17 12:36:26 mef Exp $
DISTNAME= CPAN-Meta-Check-0.010
PKGNAME= p5-${DISTNAME}
@ -13,8 +13,9 @@ LICENSE= ${PERL5_LICENSE}
DEPENDS+= {perl>=5.16.0,p5-CPAN-Meta>=2.120920}:../../devel/p5-CPAN-Meta
DEPENDS+= {perl>=5.18.0,p5-CPAN-Meta-Requirements>=2.122}:../../devel/p5-CPAN-Meta-Requirements
# use BUILD_DEPENDS+= as 'make test' dependency
# perl 5.20.0 has 1.000019, but test wants following version
# DEPENDS+= p5-Module-Metadata>=1.00023:../../devel/p5-Module-Metadata
BUILD_DEPENDS+= p5-Module-Metadata>=1.00023:../../devel/p5-Module-Metadata
BUILD_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep