summaryrefslogtreecommitdiff
path: root/devel/p5-Test-Inline
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-12 10:07:53 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-12 10:07:53 +0000
commiteed8704e6f660e183561b86d64f0c60df94507a5 (patch)
tree37cd3ef3c966c2295b8e1b9a4021e64201f06cf7 /devel/p5-Test-Inline
parentmark www/p5-Apache-Gallery broken for perl < 5.6 (diff)
Use PERL_LEVEL < 500601 instead of PERL_VERSION and 5.8.x
Notes
Notes: svn path=/head/; revision=75360
Diffstat (limited to 'devel/p5-Test-Inline')
-rw-r--r--devel/p5-Test-Inline/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/p5-Test-Inline/Makefile b/devel/p5-Test-Inline/Makefile
index 1845e1ce52d1..df8cc421dccf 100644
--- a/devel/p5-Test-Inline/Makefile
+++ b/devel/p5-Test-Inline/Makefile
@@ -28,11 +28,9 @@ MAN3= Pod::Tests.3 Pod::Tests::Tutorial.3 Test::Inline.3 Test::Inline::Tutorial
SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
-PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|}
-PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|}
-
-.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8
+.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8
+RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
.include <bsd.port.post.mk>