mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Finalize the p5-File-Spec dependency now that PERL_LEVEL is is.
PR: ports/44723 Submitted by: Alan Eldridge <alane@geeksrus.net>
This commit is contained in:
parent
804d9359cd
commit
5150f9a4b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74821
@ -28,17 +28,6 @@ MAN3= Apache::RPC::Server.3 \
|
||||
RPC::XML::Parser.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
perl_major= ${PERL_VERSION:C|^([1-9]+).*|\1|}
|
||||
_perl_minor= 00${PERL_VERSION:C|^([1-9]+)\.([0-9]+).*|\2|}
|
||||
perl_minor= ${_perl_minor:C|^.*(...)|\1|}
|
||||
.if ${perl_minor} >= 100
|
||||
perl_minor= ${PERL_VERSION:C|^([1-9]+)\.([0-9][0-9][0-9]).*|\2|}
|
||||
perl_patch= ${PERL_VERSION:C|^.*(..)|\1|}
|
||||
.else # ${perl_minor} < 100
|
||||
_perl_patch= 0${PERL_VERSION:C|^([1-9]+)\.([0-9]+)\.*|0|}
|
||||
perl_patch= ${_perl_patch:C|^.*(..)|\1|}
|
||||
.endif # ${perl_minor} < 100
|
||||
PERL_LEVEL= ${perl_major}${perl_minor}${perl_patch}
|
||||
|
||||
.if ${PERL_LEVEL} < 500601
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
||||
|
Loading…
Reference in New Issue
Block a user