aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-Harness
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2004-01-19 06:15:45 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2004-01-19 06:15:45 +0000
commitc1b22e3eaf7e86802b5475304ddfbb800a397f86 (patch)
tree669fefe3f300809a4d4c875b47f8db583320790b /devel/p5-Test-Harness
parented868c969d4a3f83d09d8e4166437b130b0b8c3e (diff)
downloadports-c1b22e3eaf7e86802b5475304ddfbb800a397f86.tar.gz
ports-c1b22e3eaf7e86802b5475304ddfbb800a397f86.zip
Notes
Diffstat (limited to 'devel/p5-Test-Harness')
-rw-r--r--devel/p5-Test-Harness/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-Test-Harness/Makefile b/devel/p5-Test-Harness/Makefile
index 396dd3b0cfc4..295b62a3440f 100644
--- a/devel/p5-Test-Harness/Makefile
+++ b/devel/p5-Test-Harness/Makefile
@@ -25,4 +25,11 @@ MAN3= Test::Harness.3 Test::Harness::Assert.3 \
post-patch:
${PERL} -pi -e 'm.INSTALLDIRS.&&s,.,,sg' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>