1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Fix a few Perl ports with Perl 5.28.

Starting at ExtUtils::MakeMaker 7.31_06 and Perl 5.27.1, the base
README.pod is no longer installed. So stop installing them altogether.

PR:		229112
Reported by:	many
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D15946
This commit is contained in:
Mathieu Arnold 2018-06-29 10:10:35 +00:00
parent e55560c172
commit 57de7fba19
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473539
39 changed files with 4 additions and 87 deletions

View File

@ -305,6 +305,9 @@ fix-perl-things:
# read with perldoc, remove the README.3 files that may be generated.
@[ -d "${STAGEDIR}${SITE_MAN3}" ] && \
${FIND} ${STAGEDIR}${SITE_MAN3} -name '*::README.3' -delete || :
# Starting at ExtUtils::MakeMaker 7.31_06 and Perl 5.27.1, the base README.pod is
# no longer installed. So remove any that can be there.
@${FIND} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL} -name README.pod -delete || :
. if !target(do-test) && (!empty(USE_PERL5:Mmodbuild*) || !empty(USE_PERL5:Mconfigure))
TEST_TARGET?= test

View File

@ -7,4 +7,3 @@
%%SITE_ARCH%%/RedisDB/Parser/Error.pm
%%SITE_ARCH%%/RedisDB/Parser/PP.pm
%%SITE_ARCH%%/RedisDB/Parser/XS.pm
%%SITE_ARCH%%/RedisDB/README.pod

View File

@ -6,7 +6,6 @@
%%SITE_PERL%%/App/CLI/Extension/Component/RunCommand.pm
%%SITE_PERL%%/App/CLI/Extension/Component/Stash.pm
%%SITE_PERL%%/App/CLI/Extension/Exception.pm
%%SITE_PERL%%/App/CLI/README.pod
%%PERL5_MAN3%%/App::CLI::Extension.3.gz
%%PERL5_MAN3%%/App::CLI::Extension::Component::Config.3.gz
%%PERL5_MAN3%%/App::CLI::Extension::Component::ErrorHandler.3.gz

View File

@ -20,7 +20,4 @@ USE_PERL5= configure
PLIST_FILES= ${SITE_PERL_REL}/Call/Context.pm \
${SITE_MAN3_REL}/Call::Context.3.gz
pre-install:
${RM} ${WRKSRC}/blib/lib/Call/README.pod
.include <bsd.port.mk>

View File

@ -1,3 +1,2 @@
%%SITE_PERL%%/Data/Page/NoTotalEntries.pm
%%SITE_PERL%%/Data/Page/README.pod
%%PERL5_MAN3%%/Data::Page::NoTotalEntries.3.gz

View File

@ -1,6 +1,5 @@
%%SITE_PERL%%/Devel/KYTProf.pm
%%SITE_PERL%%/Devel/KYTProf/Logger/LTSV.pm
%%SITE_PERL%%/Devel/KYTProf/Logger/LTSV.pod
%%SITE_PERL%%/Devel/README.pod
%%PERL5_MAN3%%/Devel::KYTProf.3.gz
%%PERL5_MAN3%%/Devel::KYTProf::Logger::LTSV.3.gz

View File

@ -26,8 +26,7 @@ USES= perl5
USE_PERL5= configure
NO_ARCH= yes
PLIST_FILES= %%SITE_PERL%%/JIRA/README.pod \
%%SITE_PERL%%/JIRA/REST.pm \
PLIST_FILES= %%SITE_PERL%%/JIRA/REST.pm \
%%PERL5_MAN3%%/JIRA::REST.3.gz
.include <bsd.port.mk>

View File

@ -1,3 +1,2 @@
%%PERL5_MAN3%%/Log::Defer.3.gz
%%SITE_PERL%%/Log/Defer.pm
%%SITE_PERL%%/Log/README.pod

View File

@ -1,5 +1,4 @@
%%SITE_PERL%%/Module/Collect/Package.pm
%%SITE_PERL%%/Module/Collect.pm
%%SITE_PERL%%/Module/README.pod
%%PERL5_MAN3%%/Module::Collect.3.gz
%%PERL5_MAN3%%/Module::Collect::Package.3.gz

View File

@ -24,7 +24,4 @@ USES= perl5
USE_PERL5= configure
NO_ARCH= yes
post-patch:
@${RM} ${WRKSRC}/README.pod
.include <bsd.port.mk>

View File

@ -9,7 +9,6 @@
%%SITE_PERL%%/MouseX/AttributeHelpers/Counter.pm
%%SITE_PERL%%/MouseX/AttributeHelpers/Number.pm
%%SITE_PERL%%/MouseX/AttributeHelpers/String.pm
%%SITE_PERL%%/MouseX/README.pod
%%PERL5_MAN3%%/MouseX::AttributeHelpers.3.gz
%%PERL5_MAN3%%/MouseX::AttributeHelpers::Base.3.gz
%%PERL5_MAN3%%/MouseX::AttributeHelpers::Bool.3.gz

View File

@ -1,16 +0,0 @@
--- Makefile.PL.new 2011-07-29 07:05:19.000000000 -0700
+++ Makefile.PL 2011-07-29 07:06:44.000000000 -0700
@@ -48,5 +48,12 @@
WriteMakefile(%WriteMakefileArgs);
+package MY;
-
+sub init_PM {
+ my $self = shift;
+ $self->SUPER::init_PM(@_);
+ # Do not install the README and README.pod
+ delete $self->{PM}{"README.pod"};
+ delete $self->{PM}{"README"};
+}

View File

@ -1,3 +1,2 @@
%%SITE_PERL%%/PerlIO/via/README.pod
%%SITE_PERL%%/PerlIO/via/Timeout.pm
%%PERL5_MAN3%%/PerlIO::via::Timeout.3.gz

View File

@ -13,7 +13,6 @@
%%SITE_PERL%%/SVN/Hooks/Mailer.pm
%%SITE_PERL%%/SVN/Hooks/Notify.pm
%%SITE_PERL%%/SVN/Hooks/UpdateConfFile.pm
%%SITE_PERL%%/SVN/README.pod
%%PERL5_MAN3%%/SVN::Hooks.3.gz
%%PERL5_MAN3%%/SVN::Hooks::AllowLogChange.3.gz
%%PERL5_MAN3%%/SVN::Hooks::AllowPropChange.3.gz

View File

@ -18,7 +18,4 @@ USE_PERL5= configure
PLIST_FILES= ${SITE_PERL_REL}/Symbol/Get.pm \
${SITE_MAN3_REL}/Symbol::Get.3.gz
pre-install:
${RM} ${WRKSRC}/blib/lib/Symbol/README.pod
.include <bsd.port.mk>

View File

@ -1,3 +1,2 @@
%%PERL5_MAN3%%/Sys::Syscall.3.gz
%%SITE_PERL%%/Sys/README.pod
%%SITE_PERL%%/Sys/Syscall.pm

View File

@ -1,4 +1,3 @@
%%SITE_PERL%%/Test/Mini/README.pod
%%SITE_PERL%%/Test/Mini/Unit.pm
%%SITE_PERL%%/Test/Mini/Unit.pod
%%SITE_PERL%%/Test/Mini/Unit/SharedBehavior.pm

View File

@ -10,7 +10,6 @@
%%SITE_PERL%%/Test/Mini/Runner.pod
%%SITE_PERL%%/Test/Mini/TestCase.pm
%%SITE_PERL%%/Test/Mini/TestCase.pod
%%SITE_PERL%%/Test/README.pod
%%PERL5_MAN3%%/Test::Mini.3.gz
%%PERL5_MAN3%%/Test::Mini::Assertions.3.gz
%%PERL5_MAN3%%/Test::Mini::Logger.3.gz

View File

@ -2,4 +2,3 @@
%%PERL5_MAN3%%/Test::MockObject::Extends.3.gz
%%SITE_PERL%%/Test/MockObject.pm
%%SITE_PERL%%/Test/MockObject/Extends.pm
%%SITE_PERL%%/Test/README.pod

View File

@ -20,7 +20,4 @@ PLIST_FILES= ${SITE_PERL_REL}/X/Tiny.pm \
${SITE_MAN3_REL}/X::Tiny.3.gz \
${SITE_MAN3_REL}/X::Tiny::Base.3.gz
pre-install:
${RM} ${WRKSRC}/blib/lib/X/README.pod
.include <bsd.port.mk>

View File

@ -1,3 +1,2 @@
%%SITE_PERL%%/Business/README.pod
%%SITE_PERL%%/Business/Stripe.pm
%%PERL5_MAN3%%/Business::Stripe.3.gz

View File

@ -1,3 +1,2 @@
%%SITE_PERL%%/Data/Google/Visualization/DataSource.pm
%%SITE_PERL%%/Data/Google/Visualization/README.pod
%%PERL5_MAN3%%/Data::Google::Visualization::DataSource.3.gz

View File

@ -19,7 +19,4 @@ PLIST_FILES= ${SITE_PERL_REL}/Math/ProvablePrime.pm \
${SITE_PERL_REL}/Math/ProvablePrime/Rand.pm \
${SITE_MAN3_REL}/Math::ProvablePrime.3.gz
pre-install:
${RM} ${WRKSRC}/blib/lib/Math/README.pod
.include <bsd.port.mk>

View File

@ -1,17 +0,0 @@
--- Makefile.PL.orig 2012-04-06 04:48:50.000000000 -0400
+++ Makefile.PL 2012-04-06 04:51:58.000000000 -0400
@@ -16,3 +16,14 @@
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Net-ILO-*' },
);
+
+package MY;
+
+sub init_PM {
+ my $self = shift;
+
+ $self->SUPER::init_PM(@_);
+
+ # Do not install README.pod
+ delete $self->{PM}{"README.pod"};
+}

View File

@ -6,7 +6,6 @@
%%SITE_PERL%%/XML/RPC/UA/AnyEvent.pm
%%SITE_PERL%%/XML/RPC/UA/AnyEventSync.pm
%%SITE_PERL%%/XML/RPC/Fast.pm
%%SITE_PERL%%/XML/RPC/README.pod
%%PERL5_MAN3%%/XML::RPC::Enc.3.gz
%%PERL5_MAN3%%/XML::RPC::Enc::LibXML.3.gz
%%PERL5_MAN3%%/XML::RPC::Fast.3.gz

View File

@ -18,7 +18,4 @@ PLIST_FILES= ${SITE_PERL_REL}/Bytes/Random/Secure/Tiny.pm \
${SITE_PERL_REL}/Bytes/Random/Secure/Tiny.pod \
${SITE_MAN3_REL}/Bytes::Random::Secure::Tiny.3.gz
pre-install:
${RM} ${WRKSRC}/blib/lib/Bytes/Random/Secure/README.pod
.include <bsd.port.mk>

View File

@ -30,7 +30,4 @@ BUILD_DEPENDS= p5-Test-Class>=0.4:devel/p5-Test-Class \
USES= perl5
USE_PERL5= configure
pre-install:
${RM} ${WRKSRC}/blib/lib/Crypt/README.pod
.include <bsd.port.mk>

View File

@ -8,7 +8,6 @@
%%SITE_PERL%%/Protocol/ACME/Logger.pm
%%SITE_PERL%%/Protocol/ACME/OpenSSL.pm
%%SITE_PERL%%/Protocol/ACME/Utils.pm
%%SITE_PERL%%/Protocol/README.pod
%%PERL5_MAN3%%/Protocol::ACME.3.gz
%%PERL5_MAN3%%/Protocol::ACME::Challenge.3.gz
%%PERL5_MAN3%%/Protocol::ACME::Challenge::LocalFile.3.gz

View File

@ -5,7 +5,6 @@
%%SITE_PERL%%/Data/FormValidator/ConstraintsFactory.pm
%%SITE_PERL%%/Data/FormValidator/Filters.pm
%%SITE_PERL%%/Data/FormValidator/Results.pm
%%SITE_PERL%%/Data/README.pod
%%PERL5_MAN3%%/Data::FormValidator.3.gz
%%PERL5_MAN3%%/Data::FormValidator::Constraints.3.gz
%%PERL5_MAN3%%/Data::FormValidator::Constraints::Dates.3.gz

View File

@ -1,3 +1,2 @@
%%SITE_PERL%%/HTML/FormatText/WithLinks/AndTables.pm
%%SITE_PERL%%/HTML/FormatText/WithLinks/README.pod
%%PERL5_MAN3%%/HTML::FormatText::WithLinks::AndTables.3.gz

View File

@ -1,5 +1,4 @@
bin/pod2readme
%%SITE_PERL%%/Pod/README.pod
%%SITE_PERL%%/Pod/Readme.pm
%%SITE_PERL%%/Pod/Readme/Filter.pm
%%SITE_PERL%%/Pod/Readme/Plugin.pm

View File

@ -2,7 +2,6 @@
%%SITE_PERL%%/Text/CSV/Encoded/Coder/Base.pm
%%SITE_PERL%%/Text/CSV/Encoded/Coder/Encode.pm
%%SITE_PERL%%/Text/CSV/Encoded/Coder/EncodeGuess.pm
%%SITE_PERL%%/Text/CSV/README.pod
%%PERL5_MAN3%%/Text::CSV::Encoded.3.gz
%%PERL5_MAN3%%/Text::CSV::Encoded::Coder::Base.3.gz
%%PERL5_MAN3%%/Text::CSV::Encoded::Coder::Encode.3.gz

View File

@ -1,3 +1,2 @@
%%SITE_PERL%%/Amon2/Plugin/LogDispatch.pm
%%SITE_PERL%%/Amon2/Plugin/README.pod
%%PERL5_MAN3%%/Amon2::Plugin::LogDispatch.3.gz

View File

@ -19,7 +19,4 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
post-patch:
@${RM} ${WRKSRC}/README.pod
.include <bsd.port.mk>

View File

@ -1,4 +1,2 @@
%%SITE_PERL%%/Dancer2/Plugin/Deferred.pm
@comment Don't package these:
@comment %%SITE_PERL%%/Dancer2/Plugin/README.pod
%%PERL5_MAN3%%/Dancer2::Plugin::Deferred.3.gz

View File

@ -14,7 +14,6 @@
%%SITE_ARCH%%/HTML5/DOM/Text.pm
%%SITE_ARCH%%/HTML5/DOM/TokenList.pm
%%SITE_ARCH%%/HTML5/DOM/Tree.pm
%%SITE_ARCH%%/HTML5/README.pod
%%SITE_ARCH%%/HTML5/leaks.pl
%%SITE_ARCH%%/auto/HTML5/DOM/DOM.so
%%PERL5_MAN3%%/HTML5::DOM.3.gz

View File

@ -1,4 +1,3 @@
%%SITE_PERL%%/HTTP/README.pod
%%SITE_PERL%%/HTTP/Router/Route.pm
%%SITE_PERL%%/HTTP/Router/Debug.pm
%%SITE_PERL%%/HTTP/Router/Declare.pm

View File

@ -1,3 +1,2 @@
%%SITE_PERL%%/Mojolicious/Plugin/Database.pm
%%SITE_PERL%%/Mojolicious/Plugin/README.pod
%%PERL5_MAN3%%/Mojolicious::Plugin::Database.3.gz

View File

@ -1,4 +1,3 @@
%%SITE_PERL%%/WWW/README.pod
%%SITE_PERL%%/WWW/SourceForge.pm
%%SITE_PERL%%/WWW/SourceForge/API.pm
%%SITE_PERL%%/WWW/SourceForge/Project.pm