summaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-Inline
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-02-12 10:07:53 +0000
committeredwin <edwin@FreeBSD.org>2003-02-12 10:07:53 +0000
commit0089df3726937d5108a51ffcaa97b6bc01b9b443 (patch)
tree1050903397d8d9df6fbd751b2408276287d77b3f /devel/p5-Test-Inline
parent0b31913a17693a8dc0bc30771cd804a28e2cc98c (diff)
downloadFreeBSD-ports-0089df3726937d5108a51ffcaa97b6bc01b9b443.zip
FreeBSD-ports-0089df3726937d5108a51ffcaa97b6bc01b9b443.tar.gz
Use PERL_LEVEL < 500601 instead of PERL_VERSION and 5.8.x
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 1845e1c..df8cc42 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>
OpenPOWER on IntegriCloud