diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-05-28 07:18:13 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-05-28 07:43:35 +0800 |
commit | ba55c52bad8967ee08b59da922f74244942d3482 (patch) | |
tree | 7995a630c6b20cfa106cd1c995073eccd5754aa0 /textproc/p5-HTML-T5/files/patch-Makefile.PL | |
parent | graphics/pecl-qrencode: update to 0.11. (diff) |
textproc/p5-HTML-T5: Add p5-HTML-T5 0.013
HTML::T5 is an HTML checker in a handy dandy object. It's meant as a replacement
for HTML::Lint.
Diffstat (limited to '')
-rw-r--r-- | textproc/p5-HTML-T5/files/patch-Makefile.PL | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/textproc/p5-HTML-T5/files/patch-Makefile.PL b/textproc/p5-HTML-T5/files/patch-Makefile.PL new file mode 100644 index 000000000000..871381c12f2e --- /dev/null +++ b/textproc/p5-HTML-T5/files/patch-Makefile.PL @@ -0,0 +1,42 @@ +--- Makefile.PL.orig 2020-11-17 10:01:32 UTC ++++ Makefile.PL +@@ -7,17 +7,12 @@ use strict; + use warnings; + + use ExtUtils::MakeMaker 6.52; +-use Alien::Base::Wrapper 2.02; + + my @build = ( +- alien_requires => { +- 'Alien::TidyHTML5' => '0.3.0', +- }, + ); + + my $parms = { + CONFIGURE_REQUIRES => { +- 'Alien::Base::Wrapper' => '2.02', + }, + NAME => 'HTML::T5', + AUTHOR => 'Andy Lester <andy@petdance.com>', +@@ -42,8 +37,6 @@ my $parms = { + prereqs => { + configure => { + 'Devel::CheckLib' => 0, +- 'Alien::Base::Wrapper' => 0, +- 'Alien::TidyHTML5' => 0, + }, + }, + resources => { +@@ -64,11 +57,7 @@ my $parms = { + dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, + clean => { FILES => 'HTML-T5-*' }, + }; +- +-my %foo = +- Alien::Base::Wrapper->new('Alien::TidyHTML5=0.3.0')->mm_args2(%$parms); +-$foo{CONFIGURE_REQUIRES}{'Alien::Base::Wrapper'} = '2.02'; +-WriteMakefile(%foo); ++WriteMakefile(); + + sub MY::postamble + { ## no critic ( Subroutines::ProhibitQualifiedSubDeclarations ) |