diff options
author | tv <tv> | 2005-11-16 19:37:19 +0000 |
---|---|---|
committer | tv <tv> | 2005-11-16 19:37:19 +0000 |
commit | 9318b85ab3a7487c26d0d588f13bfe826c8b9fa7 (patch) | |
tree | 820db0a1c646a9b2c0ecee599c67001b226b5ac3 /devel/p5-Test-Pod | |
parent | aae1bbf97fe0f38d6c9385b3406364694a00095d (diff) | |
download | pkgsrc-9318b85ab3a7487c26d0d588f13bfe826c8b9fa7.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 |