mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
Revert my commit. I'm not leaving the tree with broken ports because of this
issue. PR: 44719
This commit is contained in:
parent
f209474b37
commit
589ae6e091
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70134
2 changed files with 2 additions and 38 deletions
|
@ -25,22 +25,4 @@ MAN3= File::Spec.3 \
|
|||
File::Spec::Win32.3
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
.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} > 500600
|
||||
FORBIDDEN= This port is for perl 5.6.0 and under only.
|
||||
.endif # ${PERL_LEVEL} > 500600
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -25,22 +25,4 @@ MAN3= File::Spec.3 \
|
|||
File::Spec::Win32.3
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
.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} > 500600
|
||||
FORBIDDEN= This port is for perl 5.6.0 and under only.
|
||||
.endif # ${PERL_LEVEL} > 500600
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue