Hello community, here is the log from the commit of package perl-ExtUtils-MakeMaker for openSUSE:Factory checked in at 2019-09-23 12:00:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-MakeMaker (Old) and /work/SRC/openSUSE:Factory/.perl-ExtUtils-MakeMaker.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-ExtUtils-MakeMaker" Mon Sep 23 12:00:36 2019 rev:13 rq:730313 version:7.38 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-ExtUtils-MakeMaker/perl-ExtUtils-MakeMaker.changes 2019-06-01 09:42:50.119460801 +0200 +++ /work/SRC/openSUSE:Factory/.perl-ExtUtils-MakeMaker.new.7948/perl-ExtUtils-MakeMaker.changes 2019-09-23 12:00:38.201972477 +0200 @@ -1,0 +2,31 @@ +Thu Sep 12 07:55:51 UTC 2019 - <timueller+p...@suse.de> + +- updated to 7.38 + see /usr/share/doc/packages/perl-ExtUtils-MakeMaker/Changes + + 7.38 Wed 11 Sep 10:01:46 BST 2019 + + No changes since v7.37_04 + + 7.37_04 Thu 22 Aug 15:20:34 BST 2019 + + Bug fixes: + - Fix static linking on macOS + + 7.37_03 Sat Aug 3 12:37:29 BST 2019 + + Enhancements: + - Improved mandoc section detection + + 7.37_02 Thu Jun 27 11:10:39 BST 2019 + + Test fixes: + - Fix test failures in 02-xsdynamic.t on Android native builds + Github issue #337 + + 7.37_01 Fri Jun 7 11:21:39 BST 2019 + + Test fixes: + - [rt.cpan.org #129763] fixed test errors with latest Pod::Simple + +------------------------------------------------------------------- Old: ---- ExtUtils-MakeMaker-7.36.tar.gz New: ---- ExtUtils-MakeMaker-7.38.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-ExtUtils-MakeMaker.spec ++++++ --- /var/tmp/diff_new_pack.fP7Avy/_old 2019-09-23 12:00:39.025972340 +0200 +++ /var/tmp/diff_new_pack.fP7Avy/_new 2019-09-23 12:00:39.029972339 +0200 @@ -17,7 +17,7 @@ Name: perl-ExtUtils-MakeMaker -Version: 7.36 +Version: 7.38 Release: 0 %define cpan_name ExtUtils-MakeMaker Summary: Create a module Makefile @@ -71,7 +71,7 @@ %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install ++++++ ExtUtils-MakeMaker-7.36.tar.gz -> ExtUtils-MakeMaker-7.38.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/Changes new/ExtUtils-MakeMaker-7.38/Changes --- old/ExtUtils-MakeMaker-7.36/Changes 2019-04-28 17:32:17.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/Changes 2019-09-11 11:02:39.000000000 +0200 @@ -1,3 +1,28 @@ +7.38 Wed 11 Sep 10:01:46 BST 2019 + + No changes since v7.37_04 + +7.37_04 Thu 22 Aug 15:20:34 BST 2019 + + Bug fixes: + - Fix static linking on macOS + +7.37_03 Sat Aug 3 12:37:29 BST 2019 + + Enhancements: + - Improved mandoc section detection + +7.37_02 Thu Jun 27 11:10:39 BST 2019 + + Test fixes: + - Fix test failures in 02-xsdynamic.t on Android native builds + Github issue #337 + +7.37_01 Fri Jun 7 11:21:39 BST 2019 + + Test fixes: + - [rt.cpan.org #129763] fixed test errors with latest Pod::Simple + 7.36 Sun Apr 28 16:28:20 BST 2019 No changes since v7.35_14 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/META.json new/ExtUtils-MakeMaker-7.38/META.json --- old/ExtUtils-MakeMaker-7.36/META.json 2019-04-28 17:47:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/META.json 2019-09-11 11:15:38.000000000 +0200 @@ -4,7 +4,7 @@ "Michael G Schwern <schw...@pobox.com>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.36, CPAN::Meta::Converter version 2.143240", + "generated_by" : "ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter version 2.143240", "license" : [ "perl_5" ], @@ -61,5 +61,5 @@ }, "x_MailingList" : "makema...@perl.org" }, - "version" : "7.36" + "version" : "7.38" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/META.yml new/ExtUtils-MakeMaker-7.38/META.yml --- old/ExtUtils-MakeMaker-7.36/META.yml 2019-04-28 17:47:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/META.yml 2019-09-11 11:15:37.000000000 +0200 @@ -5,7 +5,7 @@ build_requires: {} configure_requires: {} dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.36, CPAN::Meta::Converter version 2.143240' +generated_by: 'ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter version 2.143240' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -34,4 +34,4 @@ homepage: https://metacpan.org/release/ExtUtils-MakeMaker license: http://dev.perl.org/licenses/ repository: http://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker -version: '7.36' +version: '7.38' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Command/MM.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Command/MM.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Command/MM.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Command/MM.pm 2019-09-11 11:01:28.000000000 +0200 @@ -10,7 +10,7 @@ our @EXPORT = qw(test_harness pod2man perllocal_install uninstall warn_if_old_packlist test_s cp_nonempty); -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; my $Is_VMS = $^O eq 'VMS'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Command.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Command.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Command.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Command.pm 2019-09-11 11:01:28.000000000 +0200 @@ -7,7 +7,7 @@ @ISA = qw(Exporter); @EXPORT = qw(cp rm_f rm_rf mv cat eqtime mkpath touch test_f test_d chmod dos2unix); -$VERSION = '7.36'; +$VERSION = '7.38'; $VERSION =~ tr/_//d; my $Is_VMS = $^O eq 'VMS'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Liblist/Kid.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Liblist/Kid.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Liblist/Kid.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Liblist/Kid.pm 2019-09-11 11:01:28.000000000 +0200 @@ -11,7 +11,7 @@ use strict; use warnings; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; use ExtUtils::MakeMaker::Config; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Liblist.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Liblist.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Liblist.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Liblist.pm 2019-09-11 11:01:28.000000000 +0200 @@ -2,7 +2,7 @@ use strict; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; use File::Spec; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM.pm 2019-09-11 11:01:28.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use ExtUtils::MakeMaker::Config; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; require ExtUtils::Liblist; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_AIX.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_AIX.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_AIX.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_AIX.pm 2019-09-11 11:01:28.000000000 +0200 @@ -1,7 +1,7 @@ package ExtUtils::MM_AIX; use strict; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; use ExtUtils::MakeMaker::Config; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Any.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Any.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Any.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Any.pm 2019-09-11 11:01:28.000000000 +0200 @@ -1,7 +1,7 @@ package ExtUtils::MM_Any; use strict; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; use Carp; @@ -1088,9 +1088,9 @@ END my @man_cmds; - foreach my $section (qw(1 3)) { - my $pods = $self->{"MAN${section}PODS"}; - my $p2m = sprintf <<'CMD', $section, "$]" > 5.008 ? " -u" : ""; + foreach my $num (qw(1 3)) { + my $pods = $self->{"MAN${num}PODS"}; + my $p2m = sprintf <<'CMD', "\$(MAN${num}SECTION)", "$]" > 5.008 ? " -u" : ""; $(NOECHO) $(POD2MAN) --section=%s --perm_rw=$(PERM_RW)%s CMD push @man_cmds, $self->split_command($p2m, map {($_,$pods->{$_})} sort keys %$pods); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_BeOS.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_BeOS.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_BeOS.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_BeOS.pm 2019-09-11 11:01:28.000000000 +0200 @@ -26,7 +26,7 @@ require ExtUtils::MM_Unix; our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix ); -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Cygwin.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Cygwin.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Cygwin.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Cygwin.pm 2019-09-11 11:01:28.000000000 +0200 @@ -9,7 +9,7 @@ require ExtUtils::MM_Win32; our @ISA = qw( ExtUtils::MM_Unix ); -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_DOS.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_DOS.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_DOS.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_DOS.pm 2019-09-11 11:01:28.000000000 +0200 @@ -2,7 +2,7 @@ use strict; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; require ExtUtils::MM_Any; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Darwin.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Darwin.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Darwin.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Darwin.pm 2019-09-11 11:01:28.000000000 +0200 @@ -7,7 +7,7 @@ our @ISA = qw( ExtUtils::MM_Unix ); } -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_MacOS.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_MacOS.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_MacOS.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_MacOS.pm 2019-09-11 11:01:28.000000000 +0200 @@ -2,7 +2,7 @@ use strict; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; sub new { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_NW5.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_NW5.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_NW5.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_NW5.pm 2019-09-11 11:01:28.000000000 +0200 @@ -22,7 +22,7 @@ use ExtUtils::MakeMaker::Config; use File::Basename; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; require ExtUtils::MM_Win32; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_OS2.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_OS2.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_OS2.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_OS2.pm 2019-09-11 11:01:28.000000000 +0200 @@ -5,7 +5,7 @@ use ExtUtils::MakeMaker qw(neatvalue); use File::Spec; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; require ExtUtils::MM_Any; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_QNX.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_QNX.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_QNX.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_QNX.pm 2019-09-11 11:01:28.000000000 +0200 @@ -1,7 +1,7 @@ package ExtUtils::MM_QNX; use strict; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; require ExtUtils::MM_Unix; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_UWIN.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_UWIN.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_UWIN.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_UWIN.pm 2019-09-11 11:01:28.000000000 +0200 @@ -1,7 +1,7 @@ package ExtUtils::MM_UWIN; use strict; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; require ExtUtils::MM_Unix; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Unix.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Unix.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Unix.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Unix.pm 2019-09-11 11:01:28.000000000 +0200 @@ -14,7 +14,7 @@ # If we make $VERSION an our variable parse_version() breaks use vars qw($VERSION); -$VERSION = '7.36'; +$VERSION = '7.38'; $VERSION =~ tr/_//d; require ExtUtils::MM_Any; @@ -419,6 +419,7 @@ INST_ARCHLIB INST_SCRIPT INST_BIN INST_LIB INST_MAN1DIR INST_MAN3DIR MAN1EXT MAN3EXT + MAN1SECTION MAN3SECTION INSTALLDIRS INSTALL_BASE DESTDIR PREFIX PERLPREFIX SITEPREFIX VENDORPREFIX ), @@ -968,6 +969,7 @@ my ($v, $d, $f) = File::Spec->splitpath($ext); my @d = File::Spec->splitdir($d); shift @d if $d[0] eq 'lib'; + pop @d if $d[$#d] eq ''; my $instdir = $self->catdir('$(INST_ARCHLIB)', 'auto', @d, $f); # Dynamic library names may need special handling. @@ -1499,6 +1501,24 @@ $self->$init_method(); } } + + # logic similar to picking man${num}ext in perl's Configure script + foreach my $num (1,3) { + my $installdirs = uc $self->{INSTALLDIRS}; + $installdirs = '' if $installdirs eq 'PERL'; + my $mandir = $self->_expand_macros( + $self->{ "INSTALL${installdirs}MAN${num}DIR" } ); + my $section = $num; + + foreach ($num, "${num}p", "${num}pm", qw< l n o C L >, "L$num") { + if ( $mandir =~ /\b(?:man|cat)$_$/ ) { + $section = $_; + last; + } + } + + $self->{"MAN${num}SECTION"} = $section; + } } @@ -2227,6 +2247,7 @@ my ($v, $d, $f) = File::Spec->splitpath($ext); my @d = File::Spec->splitdir($d); shift @d if defined $d[0] and $d[0] eq 'lib'; + pop @d if $d[$#d] eq ''; my $instdir = $self->catdir('$(INST_ARCHLIB)', 'auto', @d, $f); my $instfile = $self->catfile($instdir, $f); push @statics, "$instfile\$(LIB_EXT)"; @@ -2797,14 +2818,14 @@ Called by a utility method of makeaperl. Checks whether a given file is an XS library by seeing whether it defines any symbols starting -with C<boot_>. +with C<boot_> (with an optional leading underscore - needed on MacOS). =cut sub xs_static_lib_is_xs { my ($self, $libfile) = @_; my $devnull = File::Spec->devnull; - return `nm $libfile 2>$devnull` =~ /\bboot_/; + return `nm $libfile 2>$devnull` =~ /\b_?boot_/; } =item makefile (o) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_VMS.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_VMS.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_VMS.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_VMS.pm 2019-09-11 11:01:28.000000000 +0200 @@ -15,7 +15,7 @@ use File::Basename; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; require ExtUtils::MM_Any; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_VOS.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_VOS.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_VOS.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_VOS.pm 2019-09-11 11:01:28.000000000 +0200 @@ -1,7 +1,7 @@ package ExtUtils::MM_VOS; use strict; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; require ExtUtils::MM_Unix; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Win32.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Win32.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Win32.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Win32.pm 2019-09-11 11:01:28.000000000 +0200 @@ -27,7 +27,7 @@ require ExtUtils::MM_Any; require ExtUtils::MM_Unix; our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix ); -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; $ENV{EMXSHELL} = 'sh'; # to run `commands` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Win95.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Win95.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Win95.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MM_Win95.pm 2019-09-11 11:01:28.000000000 +0200 @@ -2,7 +2,7 @@ use strict; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; require ExtUtils::MM_Win32; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MY.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MY.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MY.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MY.pm 2019-09-11 11:01:28.000000000 +0200 @@ -3,7 +3,7 @@ use strict; require ExtUtils::MM; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; our @ISA = qw(ExtUtils::MM); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/Config.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/Config.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/Config.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/Config.pm 2019-09-11 11:01:28.000000000 +0200 @@ -2,7 +2,7 @@ use strict; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; use Config (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/FAQ.pod new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/FAQ.pod --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/FAQ.pod 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/FAQ.pod 2019-09-11 11:01:28.000000000 +0200 @@ -1,6 +1,6 @@ package ExtUtils::MakeMaker::FAQ; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/Locale.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/Locale.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/Locale.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/Locale.pm 2019-09-11 11:01:28.000000000 +0200 @@ -1,7 +1,7 @@ package ExtUtils::MakeMaker::Locale; use strict; -our $VERSION = "7.36"; +our $VERSION = "7.38"; $VERSION =~ tr/_//d; use base 'Exporter'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/Tutorial.pod new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/Tutorial.pod --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/Tutorial.pod 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/Tutorial.pod 2019-09-11 11:01:28.000000000 +0200 @@ -1,6 +1,6 @@ package ExtUtils::MakeMaker::Tutorial; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/version/regex.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/version/regex.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/version/regex.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/version/regex.pm 2019-09-11 11:01:28.000000000 +0200 @@ -10,7 +10,7 @@ use vars qw($VERSION $CLASS $STRICT $LAX); -$VERSION = '7.36'; +$VERSION = '7.38'; $VERSION =~ tr/_//d; #--------------------------------------------------------------------------# diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/version/vpp.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/version/vpp.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/version/vpp.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/version/vpp.pm 2019-09-11 11:01:28.000000000 +0200 @@ -128,7 +128,7 @@ use Config; use vars qw($VERSION $CLASS @ISA $LAX $STRICT); -$VERSION = '7.36'; +$VERSION = '7.38'; $VERSION =~ tr/_//d; $CLASS = 'ExtUtils::MakeMaker::version::vpp'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/version.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/version.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/version.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker/version.pm 2019-09-11 11:01:28.000000000 +0200 @@ -15,7 +15,7 @@ use vars qw(@ISA $VERSION $CLASS $STRICT $LAX *declare *qv); -$VERSION = '7.36'; +$VERSION = '7.38'; $VERSION =~ tr/_//d; $CLASS = 'version'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/MakeMaker.pm 2019-09-11 11:01:28.000000000 +0200 @@ -24,7 +24,7 @@ our %macro_fsentity; # whether a macro is a filesystem name our %macro_dep; # whether a macro is a dependency -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; # Emulate something resembling CVS $Revision$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Mkbootstrap.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Mkbootstrap.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Mkbootstrap.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Mkbootstrap.pm 2019-09-11 11:01:28.000000000 +0200 @@ -3,7 +3,7 @@ # There's just too much Dynaloader incest here to turn on strict vars. use strict 'refs'; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; require Exporter; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Mksymlists.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Mksymlists.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/Mksymlists.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/Mksymlists.pm 2019-09-11 11:01:28.000000000 +0200 @@ -10,7 +10,7 @@ our @ISA = qw(Exporter); our @EXPORT = qw(&Mksymlists); -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; sub Mksymlists { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/testlib.pm new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/testlib.pm --- old/ExtUtils-MakeMaker-7.36/lib/ExtUtils/testlib.pm 2019-04-28 17:32:31.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/lib/ExtUtils/testlib.pm 2019-09-11 11:01:28.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '7.36'; +our $VERSION = '7.38'; $VERSION =~ tr/_//d; use Cwd; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/t/build_man.t new/ExtUtils-MakeMaker-7.38/t/build_man.t --- old/ExtUtils-MakeMaker-7.36/t/build_man.t 2019-04-27 18:29:41.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/t/build_man.t 2019-07-08 16:32:43.000000000 +0200 @@ -7,7 +7,7 @@ } use strict; -use Test::More tests => 10; +use Test::More tests => 46; use File::Spec; use File::Temp qw[tempdir]; @@ -81,3 +81,106 @@ ); is_deeply $mm->{MAN3PODS}, { "Foo.pm" => "Foo.1" }, 'override man3pod'; } + +unlink $README; + +# Check that we find the manage section from the directory +{ + local $Config{installman1dir} = ''; + local $Config{installman3dir} = ''; + local $Config{installsiteman1dir} = ''; + local $Config{installsiteman3dir} = ''; + local $Config{installvendorman1dir} = ''; + local $Config{installvendorman3dir} = ''; + local $Config{usevendorprefix} = ''; + local $Config{vendorprefixexp} = ''; + + my $INSTALLDIRS = 'site'; + + my $sections_ok = sub { + my ( $man1section, $man3section, $m ) = @_; + local $Test::Builder::Level = $Test::Builder::Level + 1; + + my $stdout = tie *STDOUT, 'TieOut' or die; + my $mm = WriteMakefile( + NAME => 'Big::Dummy', + VERSION_FROM => 'lib/Big/Dummy.pm', + INSTALLDIRS => $INSTALLDIRS, + ); + + is( $mm->{MAN1SECTION}, $man1section, + "$m man1section is $man1section" ); + is( $mm->{MAN3SECTION}, $man3section, + "$m man3section is $man3section" ); + }; + + # Correctly detect known man sections + foreach my $s ( '{num}', '{num}p', '{num}pm', qw< l n o C L >, "L{num}", ) + { + ( my $man1section = $s ) =~ s/\{num\}/1/; + ( my $man3section = $s ) =~ s/\{num\}/3/; + + $Config{installman1dir} + = File::Spec->catdir( 'foo', "man$man1section" ); + $Config{installman3dir} + = File::Spec->catdir( 'foo', "man$man3section" ); + + $sections_ok->( $man1section, $man3section, "From main [$s]" ); + } + + # Ignore unknown man sections + foreach my $s ( '', qw< 2 2p 33 >, "C{num}" ) { + ( my $man1section = $s ) =~ s/\{num\}/1/; + ( my $man3section = $s ) =~ s/\{num\}/3/; + + $Config{installman1dir} + = File::Spec->catdir( 'foo', "man$man1section" ); + $Config{installman3dir} + = File::Spec->catdir( 'foo', "man$man3section" ); + + $sections_ok->( 1, 3, "Ignore unrecognized [$s]" ); + } + + # Look in the right installman?dir based on INSTALLDIRS + { + $Config{installman1dir} = File::Spec->catdir( 'foo', 'cat1p' ); + $Config{installman3dir} = File::Spec->catdir( 'foo', 'cat3p' ); + $Config{installsiteman1dir} = File::Spec->catdir( 'foo', 'catL' ); + $Config{installsiteman3dir} = File::Spec->catdir( 'foo', 'catL3' ); + + $sections_ok->( 'L', 'L3', "From site" ); + + my $installwas = $INSTALLDIRS; + $INSTALLDIRS = 'perl'; + $sections_ok->( '1p', '3p', "From main" ); + $INSTALLDIRS = $installwas; + + } + + # Set MAN?SECTION in Makefile + { + $Config{installman1dir} = File::Spec->catdir( 'foo', 'man1pm' ); + $Config{installman3dir} = File::Spec->catdir( 'foo', 'man3pm' ); + $Config{installsiteman1dir} = ''; + $Config{installsiteman3dir} = ''; + + my $stdout = tie *STDOUT, 'TieOut' or die; + my $mm = WriteMakefile( + NAME => 'Big::Dummy', + VERSION_FROM => 'lib/Big/Dummy.pm', + MAN1PODS => { foo => 'foo.1' }, + INSTALLDIRS => $INSTALLDIRS, + ); + + my $makefile = slurp('Makefile'); + + like $makefile, qr/\QMAN1SECTION = 1pm\E/xms, "Set MAN1SECTION"; + like $makefile, qr/\QMAN3SECTION = 3pm\E/xms, "Set MAN3SECTION"; + + like $makefile, qr/\Q$(POD2MAN) --section=$(MAN1SECTION) \E/, + "Set POD2MAN section to \$(MAN1SECTION)"; + like $makefile, qr/\Q$(POD2MAN) --section=$(MAN3SECTION) \E/, + "Set POD2MAN section to \$(MAN3SECTION)"; + } +} + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-MakeMaker-7.36/t/pod2man.t new/ExtUtils-MakeMaker-7.38/t/pod2man.t --- old/ExtUtils-MakeMaker-7.36/t/pod2man.t 2016-04-27 22:08:36.000000000 +0200 +++ new/ExtUtils-MakeMaker-7.38/t/pod2man.t 2019-06-07 12:18:23.000000000 +0200 @@ -19,7 +19,7 @@ pod2man("--perm_rw"); - like $warnings, qr/^Option perm_rw requires an argument/; + like $warnings, qr/Option perm_rw requires an argument/; };