Fix p5-File-Spec dependency.

This commit is contained in:
Edwin Groothuis 2003-02-12 11:24:53 +00:00
parent a5a6facd41
commit 354c9ca868
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75363

View file

@ -26,11 +26,9 @@ MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
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>