diff options
author | tv <tv> | 2005-11-16 19:37:19 +0000 |
---|---|---|
committer | tv <tv> | 2005-11-16 19:37:19 +0000 |
commit | 4d95d97bf3f5d191f4670894d08d27472f416a22 (patch) | |
tree | 820db0a1c646a9b2c0ecee599c67001b226b5ac3 /devel | |
parent | d449492f26f5b1bb2da64c6361f253990a46ab6b (diff) | |
download | pkgsrc-4d95d97bf3f5d191f4670894d08d27472f416a22.tar.gz |
Only include p5-Test-Builder-Tester as a BUILD_DEPENDS if
PKGSRC_RUN_TEST=yes.
Diffstat (limited to 'devel')
-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 |