pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Test-Pod Only include p5-Test-Builder-Tester ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cfa0715bf005
branches: trunk
changeset: 503227:cfa0715bf005
user: tv <tv%pkgsrc.org@localhost>
date: Wed Nov 16 19:37:19 2005 +0000
description:
Only include p5-Test-Builder-Tester as a BUILD_DEPENDS if
PKGSRC_RUN_TEST=yes.
diffstat:
devel/p5-Test-Pod/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 0f5e6d8c979a -r cfa0715bf005 devel/p5-Test-Pod/Makefile
--- a/devel/p5-Test-Pod/Makefile Wed Nov 16 19:20:35 2005 +0000
+++ b/devel/p5-Test-Pod/Makefile Wed Nov 16 19:37:19 2005 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index