SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
29
devel/p5-Data-FormValidator/patches/patch-Makefile_PL
Normal file
29
devel/p5-Data-FormValidator/patches/patch-Makefile_PL
Normal file
|
@ -0,0 +1,29 @@
|
|||
- Prevent the installation of README.Pod in an inappropriate place.
|
||||
- Don't install Data::Readme.3p, the content is similar to
|
||||
Data::FormValidator.3p.
|
||||
Taken from:
|
||||
https://metacpan.org/source/BDFOY/Test-File-1.43//Makefile.PL
|
||||
Upstream bug report:
|
||||
https://rt.cpan.org/Public/Bug/Display.html?id=128187
|
||||
Index: Makefile.PL
|
||||
--- Makefile.PL.orig
|
||||
+++ Makefile.PL
|
||||
@@ -37,3 +37,18 @@ WriteMakefile(
|
||||
: ()
|
||||
),
|
||||
);
|
||||
+
|
||||
+
|
||||
+BEGIN {
|
||||
+ use ExtUtils::MM_Unix;
|
||||
+ package ExtUtils::MM_Unix;
|
||||
+
|
||||
+ my $original = \&ExtUtils::MM_Unix::init_dirscan;
|
||||
+ no warnings 'redefine';
|
||||
+
|
||||
+ *init_dirscan = sub {
|
||||
+ &$original;
|
||||
+ delete $_[0]{PM}{'README.pod'};
|
||||
+ $_[0];
|
||||
+ };
|
||||
+}
|
Loading…
Add table
Add a link
Reference in a new issue