Subject: | [PATCH] Don't install README.pod and Data::Readme.3p |
Date: | Mon, 7 Jan 2019 03:44:14 +0100 |
To: | bug-Data-FormValidator [...] rt.cpan.org |
From: | Charlene Wendling <julianaito [...] posteo.jp> |
Hi,
I'm currently working on an update of this module on OpenBSD, there
are issues when it comes to documentation installation, at least from
our point of view [1]:
- README.pod installs itself the Data namespace
- Data::Readme.3p is redundant, the content is similar to
Data::FormValidator.3p
Here is a small diff that zaps them - the code has been taken from
Test-File-1.43 [2].
What's your opinion on this?
Charlène.
[1] https://marc.info/?l=openbsd-ports&m=154682361321175&w=2
[2]
https://metacpan.org/diff/file?target=BDFOY/Test-File-1.43/&source=BDFOY%2FTest-File-1.42
--- Makefile.PL Mon Jan 7 03:23:01 2019
+++ Makefile.PL.orig Mon Aug 28 01:50:01 2017
@@ -37,18 +37,3 @@
: ()
),
);
-
-
-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];
- };
-}