Cleanup supporting perl version 5.8 and 5.10,

lang/perl5.8 and lang/5.10 will be removed from ports tree soon.
This commit is contained in:
Andrej Zverev 2012-12-17 09:54:03 +00:00
parent ceb9a290db
commit 41521f6557
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309075
9 changed files with 9 additions and 70 deletions

View file

@ -38,10 +38,4 @@ MAN3= Audio::MPD.3 \
Audio::MPD::Playlist.3 \
Audio::MPD::Types.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -23,10 +23,4 @@ PERL_CONFIGURE= yes
MAN3= Authen::Bitcard.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501000
RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -34,10 +34,4 @@ MAN3= Crypt::OpenSSL::CA.3 \
Crypt::OpenSSL::CA::Inline::C.3 \
Crypt::OpenSSL::CA::Resources.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
BUILD_DEPENDS+= p5-Module-Build>=0.2900:${PORTSDIR}/devel/p5-Module-Build
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -27,14 +27,8 @@ USE_OPENSSL= yes
MAN3= Crypt::SSLeay.3 Net::SSL.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif
post-patch:
@${REINPLACE_CMD} -e '/LIBS/ s|-lssl32 -lssleay32 -leay32|-L${OPENSSLLIB}|' \
-e '/is_live_test_wanted()/d' ${WRKSRC}/Makefile.PL
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -29,10 +29,4 @@ MAN3= Data::Entropy.3 \
Data::Entropy::RawSource::RandomnumbersInfo.3 \
Data::Entropy::Source.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -20,18 +20,11 @@ PERL_CONFIGURE= yes
MAN3= Digest::SHA.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 501000
PLIST_SUB+= EXE_FILES="@comment "
.else
# XXX:az - pkg-plist
PLIST_SUB+= EXE_FILES=""
MAN1= shasum.1
.endif
post-patch:
.if ${PERL_LEVEL} >= 501000
@${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -18,11 +18,4 @@ PERL_CONFIGURE= yes
MAN3= Digest::SHA1.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500803
BUILD_DEPENDS+= p5-Digest>=1.00:${PORTSDIR}/security/p5-Digest
RUN_DEPENDS+= p5-Digest>=1.00:${PORTSDIR}/security/p5-Digest
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -39,9 +39,4 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/gpgv2:${PORTSDIR}/security/gnupg
RUN_DEPENDS+= ${LOCALBASE}/bin/gpgv2:${PORTSDIR}/security/gnupg
.endif
.if ${PERL_LEVEL} < 501000
BUILD_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
.endif
.include <bsd.port.post.mk>

View file

@ -28,16 +28,4 @@ MAN3= POE::Component::SSLify.3 \
POE::Component::SSLify::ClientHandle.3 \
POE::Component::SSLify::ServerHandle.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500809
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.31:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
RUN_DEPENDS+= p5-ExtUtils-MakeMaker>=6.31:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
.endif
.if ${PERL_LEVEL} < 501001
BUILD_DEPENDS+= p5-IO>=1.28:${PORTSDIR}/devel/p5-IO
RUN_DEPENDS+= p5-IO>=1.28:${PORTSDIR}/devel/p5-IO
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>