diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-02-12 10:07:53 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-02-12 10:07:53 +0000 |
commit | eed8704e6f660e183561b86d64f0c60df94507a5 (patch) | |
tree | 37cd3ef3c966c2295b8e1b9a4021e64201f06cf7 | |
parent | 66ba3eb4b44383a996b4a17165ff06c3ffa3164b (diff) | |
download | ports-eed8704e6f660e183561b86d64f0c60df94507a5.tar.gz ports-eed8704e6f660e183561b86d64f0c60df94507a5.zip |
Notes
-rw-r--r-- | devel/p5-Test-Inline/Makefile | 8 |
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> |