diff options
author | tv <tv@pkgsrc.org> | 2005-11-16 19:37:19 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-11-16 19:37:19 +0000 |
commit | c9d1bf5abbd1352423201938d5ae429ced5b9dd6 (patch) | |
tree | 820db0a1c646a9b2c0ecee599c67001b226b5ac3 /devel/p5-Test-Pod | |
parent | 4b3934d0fdcb2d3737190ab916df6af3d69c3832 (diff) | |
download | pkgsrc-c9d1bf5abbd1352423201938d5ae429ced5b9dd6.tar.gz |
Only include p5-Test-Builder-Tester as a BUILD_DEPENDS if
PKGSRC_RUN_TEST=yes.
Diffstat (limited to 'devel/p5-Test-Pod')
-rw-r--r-- | devel/p5-Test-Pod/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/p5-Test-Pod/Makefile b/devel/p5-Test-Pod/Makefile index 21eeed5f7b1..b40c1fd912b 100644 --- a/devel/p5-Test-Pod/Makefile +++ b/devel/p5-Test-Pod/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2005/08/06 06:19:14 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2005/11/16 19:37:19 tv Exp $ DISTNAME= Test-Pod-1.20 PKGNAME= p5-${DISTNAME} @@ -12,8 +12,12 @@ HOMEPAGE= http://search.cpan.org/dist/Test-Pod/ COMMENT= Perl5 module to check for POD errors in files DEPENDS+= p5-Pod-Simple>=3.02nb1:../../textproc/p5-Pod-Simple -# These are only for the 'test' target. + +.include "../../mk/bsd.prefs.mk" + +.if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS]) BUILD_DEPENDS+= p5-Test-Builder-Tester-[0-9]*:../../devel/p5-Test-Builder-Tester +.endif USE_LANGUAGES= # empty PERL5_PACKLIST= auto/Test/Pod/.packlist |