summaryrefslogtreecommitdiff
path: root/devel/p5-Path-Class/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Path-Class/Makefile')
-rw-r--r--devel/p5-Path-Class/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/p5-Path-Class/Makefile b/devel/p5-Path-Class/Makefile
index cecbc12eb5cd..2cf9fc279633 100644
--- a/devel/p5-Path-Class/Makefile
+++ b/devel/p5-Path-Class/Makefile
@@ -15,6 +15,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Cross-platform path specification manipulation
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_MODBUILD= yes
MAN3= Path::Class.3 \
@@ -33,10 +36,7 @@ post-install:
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
-EXTRA_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Dir.pm:${PORTSDIR}/devel/p5-IO \
- ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-BUILD_DEPENDS= ${EXTRA_DEPENDS}
-RUN_DEPENDS= ${EXTRA_DEPENDS}
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Dir.pm:${PORTSDIR}/devel/p5-IO
.endif
.include <bsd.port.post.mk>