This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
buildperl.pl: Don't try to install man pages
authorKarl Williamson <khw@cpan.org>
Mon, 8 Jul 2019 20:35:05 +0000 (14:35 -0600)
committerNicolas R <atoomic@cpan.org>
Fri, 27 Sep 2019 22:39:30 +0000 (16:39 -0600)
(cherry picked from commit 0a183db5b6138fcded66ba407a3d8216734d7e70)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/devel/buildperl.pl

index f15b851..fea371a 100644 (file)
@@ -44,20 +44,23 @@ my %opt = (
   'test-archives' => 0,
 );
 
+my $Configure_extra = '-Dman1dir="none" -Dman3dir="none"';
+
+
 my %config = (
   default     => {
-                   config_args => '-des',
+                   config_args => "-des $Configure_extra" ,
                  },
   thread      => {
-                   config_args     => '-des -Dusethreads',
+                   config_args     => "-des -Dusethreads $Configure_extra",
                    masked_versions => [ qr/^5\.00[01234]/ ],
                  },
   thread5005  => {
-                   config_args     => '-des -Duse5005threads',
+                   config_args     => "-des -Duse5005threads $Configure_extra",
                    masked_versions => [ qr/^5\.00[012345]|^5\.(9|\d\d)|^5\.8\.9/ ],
                  },
   debug       => {
-                   config_args => '-des -Doptimize=-g',
+                   config_args => "-des -Doptimize=-g $Configure_extra",
                  },
 );