summaryrefslogtreecommitdiff
path: root/devel/p5-Test-Pod/Makefile
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-16 19:37:19 +0000
committertv <tv@pkgsrc.org>2005-11-16 19:37:19 +0000
commitd7a4d7acf9d0268ec9ca16c60a7461750e6a1231 (patch)
tree820db0a1c646a9b2c0ecee599c67001b226b5ac3 /devel/p5-Test-Pod/Makefile
parent7c73aeb23f2af2b1d049fa3c8ef7cd54167ac9dd (diff)
downloadpkgsrc-d7a4d7acf9d0268ec9ca16c60a7461750e6a1231.tar.gz
Only include p5-Test-Builder-Tester as a BUILD_DEPENDS if
PKGSRC_RUN_TEST=yes.
Diffstat (limited to 'devel/p5-Test-Pod/Makefile')
-rw-r--r--devel/p5-Test-Pod/Makefile8
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