Purge checks for perl < 5.20. For p5-Net, remove the IPV6 knob which only

affected 5.18 and lower.
This commit is contained in:
Adam Weinberger 2016-12-31 19:51:34 +00:00
parent e834468ee6
commit 6692493837
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430155
30 changed files with 47 additions and 240 deletions

View File

@ -15,7 +15,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS:= ${RUN_DEPENDS} \
p5-Text-Patch>=1.4:textproc/p5-Text-Patch
RUN_DEPENDS= p5-File-Which>=0:sysutils/p5-File-Which \
RUN_DEPENDS= p5-Archive-Extract>=0:archivers/p5-Archive-Extract \
p5-File-Which>=0:sysutils/p5-File-Which \
p5-File-ShareDir>=0:devel/p5-File-ShareDir \
p5-Capture-Tiny>=0:devel/p5-Capture-Tiny
@ -24,11 +25,4 @@ USE_PERL5= modbuild
USE_SDL= gfx image mixer pango sdl ttf
CONFIGURE_ARGS= --with-sdl-config=${SDL_CONFIG}
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 502000
BUILD_DEPENDS+= p5-Archive-Extract>=0:archivers/p5-Archive-Extract
RUN_DEPENDS+= p5-Archive-Extract>=0:archivers/p5-Archive-Extract
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -18,11 +18,4 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-version>=0.99.06:devel/p5-version
RUN_DEPENDS+= p5-version>=0.99.06:devel/p5-version
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -21,11 +21,4 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-CPAN-Meta>=2.132830:devel/p5-CPAN-Meta
RUN_DEPENDS+= p5-CPAN-Meta>=2.132830:devel/p5-CPAN-Meta
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -20,11 +20,4 @@ TEST_DEPENDS= p5-Test-Exception>=0.27:devel/p5-Test-Exception
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -13,6 +13,9 @@ COMMENT= Load class configuration data from a number of file formats
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Module-Pluggable>=3.6:devel/p5-Module-Pluggable
RUN_DEPENDS= p5-Module-Pluggable>=3.6:devel/p5-Module-Pluggable
OPTIONS_DEFINE= GENERAL INI JSON XML YAML
OPTIONS_DEFAULT=GENERAL INI JSON XML YAML
@ -33,12 +36,4 @@ XML_RUN_DEPENDS= p5-XML-Simple>=0:textproc/p5-XML-Simple
YAML_BUILD_DEPENDS= p5-YAML-LibYAML>=0:textproc/p5-YAML-LibYAML
YAML_RUN_DEPENDS= p5-YAML-LibYAML>=0:textproc/p5-YAML-LibYAML
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 502000
# Module::Pluggable was first released with perl v5.8.9 and removed from v5.19.0
BUILD_DEPENDS+= p5-Module-Pluggable>=3.6:devel/p5-Module-Pluggable
RUN_DEPENDS+= p5-Module-Pluggable>=3.6:devel/p5-Module-Pluggable
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -17,11 +17,4 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= modbuild
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -18,10 +18,4 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
TEST_DEPENDS= p5-Scalar-List-Utils>=1.29:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -29,11 +29,6 @@ USE_PERL5= modbuild
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Test-Harness>=3.29:devel/p5-Test-Harness
RUN_DEPENDS+= p5-Test-Harness>=3.29:devel/p5-Test-Harness
.endif
.if ${PERL_LEVEL} < 502105
BUILD_DEPENDS+= p5-CPAN-Meta>=2.142060:devel/p5-CPAN-Meta
RUN_DEPENDS+= p5-CPAN-Meta>=2.142060:devel/p5-CPAN-Meta

View File

@ -34,11 +34,4 @@ BUILD_DEPENDS+= p5-ExtUtils-MakeMaker-CPANfile>=0.06:devel/p5-ExtUtils-MakeMaker
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-CPAN-Meta>=2.133380:devel/p5-CPAN-Meta
RUN_DEPENDS+= p5-CPAN-Meta>=2.133380:devel/p5-CPAN-Meta
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -16,11 +16,4 @@ LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS= p5-Module-Load>=0.28:devel/p5-Module-Load
RUN_DEPENDS:= ${BUILD_DEPENDS}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -18,11 +18,4 @@ LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Test-Simple>=1.001002:devel/p5-Test-Simple
RUN_DEPENDS+= p5-Test-Simple>=1.001002:devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -24,11 +24,4 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -19,10 +19,4 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
TEST_DEPENDS+= p5-Test-Simple>=1.001002:devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -14,17 +14,11 @@ LICENSE= ART10 GPLv1
LICENSE_COMB= dual
RUN_DEPENDS= p5-Email-Simple>=1.998:mail/p5-Email-Simple \
p5-MRO-Compat>=0:devel/p5-MRO-Compat
p5-MRO-Compat>=0:devel/p5-MRO-Compat \
p5-Module-Pluggable>1.5:devel/p5-Module-Pluggable
BUILD_DEPENDS:= ${RUN_DEPENDS}
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 502000
BUILD_DEPENDS+= p5-Module-Pluggable>1.5:devel/p5-Module-Pluggable
RUN_DEPENDS+= p5-Module-Pluggable>1.5:devel/p5-Module-Pluggable
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -14,17 +14,12 @@ COMMENT= Determine the type of a mail folder
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Module-Pluggable>0:devel/p5-Module-Pluggable
RUN_DEPENDS= p5-Module-Pluggable>0:devel/p5-Module-Pluggable
TEST_DEPENDS= p5-Capture-Tiny>0:devel/p5-Capture-Tiny
NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 502000
BUILD_DEPENDS+= p5-Module-Pluggable>0:devel/p5-Module-Pluggable
RUN_DEPENDS+= p5-Module-Pluggable>0:devel/p5-Module-Pluggable
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -31,11 +31,4 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.38:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.38:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -29,11 +29,4 @@ USE_PERL5= configure
WRKSRC= ${WRKDIR}/${DISTNAME:R}
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-IO-Socket-IP>=0:net/p5-IO-Socket-IP
RUN_DEPENDS+= p5-IO-Socket-IP>=0:net/p5-IO-Socket-IP
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -19,7 +19,7 @@ LICENSE_COMB= dual
BUILD_DEPENDS= p5-Socket>=2.016:net/p5-Socket
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= IPV6 SASL SSL
OPTIONS_DEFINE= SASL SSL
OPTIONS_DEFAULT=SASL SSL
SASL_DESC= SASL auth for POP3 and SMTP support
@ -33,11 +33,4 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MIPV6} && ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-IO-Socket-IP>=0.20:net/p5-IO-Socket-IP
RUN_DEPENDS+= p5-IO-Socket-IP>=0.20:net/p5-IO-Socket-IP
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -22,10 +22,4 @@ TEST_DEPENDS= p5-Test-FailWarnings>=0:devel/p5-Test-FailWarnings
USES= perl5
USE_PERL5= modbuildtiny
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
TEST_DEPENDS+= p5-Test-Simple>=1.001002:devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -28,11 +28,4 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-experimental>=0:devel/p5-experimental
RUN_DEPENDS+= p5-experimental>=0:devel/p5-experimental
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -22,11 +22,4 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Text-Soundex>=0:textproc/p5-Text-Soundex
RUN_DEPENDS+= p5-Text-Soundex>=0:textproc/p5-Text-Soundex
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -18,6 +18,7 @@ BUILD_DEPENDS= p5-B-Keywords>=0:devel/p5-B-Keywords \
p5-Email-Address>=0:mail/p5-Email-Address \
p5-List-Flatten>=0:devel/p5-List-Flatten \
p5-List-MoreUtils>=0.33:lang/p5-List-MoreUtils \
p5-Module-Pluggable>=0:devel/p5-Module-Pluggable \
p5-Path-Tiny>=0.068:devel/p5-Path-Tiny \
p5-Regexp-Lexer>=0.05:devel/p5-Regexp-Lexer \
p5-String-CamelCase>=0:textproc/p5-String-CamelCase \
@ -37,14 +38,4 @@ post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/eg/|} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 502000
BUILD_DEPENDS+= p5-Module-Pluggable>=0:devel/p5-Module-Pluggable
RUN_DEPENDS+= p5-Module-Pluggable>=0:devel/p5-Module-Pluggable
.else
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.41:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.41:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -29,11 +29,4 @@ TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -30,10 +30,4 @@ post-patch:
@${REINPLACE_CMD} -e '/pod2html/d' ${WRKSRC}/MANIFEST
@${RM} ${WRKSRC}/t/pod2html.t
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
TEST_DEPENDS+= p5-Test-Simple>=1.001002:devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -49,11 +49,4 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -16,6 +16,7 @@ LICENSE_COMB= dual
BUILD_DEPENDS= p5-Catalyst-Runtime>=5.80030:www/p5-Catalyst-Runtime \
p5-Class-Inspector>=1.13:devel/p5-Class-Inspector \
p5-MRO-Compat>=0.10:devel/p5-MRO-Compat \
p5-Module-Pluggable>=0:devel/p5-Module-Pluggable \
p5-Moose>=1.03:devel/p5-Moose \
p5-Params-Validate>=0.76:devel/p5-Params-Validate \
p5-URI-Find>=0:textproc/p5-URI-Find \
@ -30,11 +31,4 @@ CONFIGURE_ARGS= --default
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 502000
BUILD_DEPENDS+= p5-Module-Pluggable>=0:devel/p5-Module-Pluggable
RUN_DEPENDS+= p5-Module-Pluggable>=0:devel/p5-Module-Pluggable
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -50,11 +50,4 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -22,11 +22,4 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= modbuildtiny
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -12,16 +12,12 @@ COMMENT= Retrieving information about books by ISBN number
LICENSE= ART20
BUILD_DEPENDS= p5-Module-Pluggable>=0:devel/p5-Module-Pluggable
RUN_DEPENDS= p5-Module-Pluggable>=0:devel/p5-Module-Pluggable
CONFLICTS_INSTALL= p5-WWW-Scraper-ISBN-Driver-[0-9]* p5-WWW-Scraper-ISBN-Record-[0-9]*
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 502000
BUILD_DEPENDS+= p5-Module-Pluggable>=0:devel/p5-Module-Pluggable
RUN_DEPENDS+= p5-Module-Pluggable>=0:devel/p5-Module-Pluggable
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -14,6 +14,9 @@ COMMENT= Perl5 module for building, finding and using wxWidgets binaries
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable
RUN_DEPENDS= p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable
USES= perl5 compiler:env
USE_PERL5= modbuild
USE_WX= 3.0
@ -31,11 +34,4 @@ post-install:
@(cd ${STAGEDIR}${PREFIX}; ${FIND} * -type f -name gtk2_\* -print \
>> ${TMPPLIST})
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 502000
BUILD_DEPENDS+= p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable
RUN_DEPENDS+= p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>