aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Module-Info
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2003-07-03 16:27:27 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2003-07-03 16:27:27 +0000
commit6030d0c7ea7664d0d7f2e51df7d3097edde198f4 (patch)
treeb25beccdd8d2a5b3b3b9211d73fe96f8522f30fd /devel/p5-Module-Info
parent9398e98b8ce8d4ed904f706ea6764448e31395cd (diff)
downloadports-6030d0c7ea7664d0d7f2e51df7d3097edde198f4.tar.gz
ports-6030d0c7ea7664d0d7f2e51df7d3097edde198f4.zip
Notes
Diffstat (limited to 'devel/p5-Module-Info')
-rw-r--r--devel/p5-Module-Info/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-Module-Info/Makefile b/devel/p5-Module-Info/Makefile
index a403b33b2d99..ddeb43a0509e 100644
--- a/devel/p5-Module-Info/Makefile
+++ b/devel/p5-Module-Info/Makefile
@@ -19,4 +19,11 @@ PERL_CONFIGURE= yes
MAN1= module_info.1 pfunc.1
MAN3= B::Utils.3 Module::Info.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 500600
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.include <bsd.port.post.mk>