In perl.git, the branch blead has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/83be7caa360f6d08011d70852e639cc6e8ab592f?hp=141513f22bae5fcd32067ac152c1fcfe5a1b1a5d>

- Log -----------------------------------------------------------------
commit 83be7caa360f6d08011d70852e639cc6e8ab592f
Author: Craig A. Berry <craigbe...@mac.com>
Date:   Sun Feb 11 16:33:29 2018 -0600

    Construct Limit.pm dependency with File::Spec.
    
    Paths passed to WriteMakefile() will get converted to whatever
    format is necessary for the make or make-like utility being used,
    but paths in hard-coded extra dependencies will not.  So construct
    the target name with File::Spec->catfile().

commit d17c4794a66b385441f3d550489b8439a5ee2c66
Author: Craig A. Berry <craigbe...@mac.com>
Date:   Sun Feb 11 16:29:32 2018 -0600

    VMS does have wchar.h.
    
    And we now need it for prototypes of functions that locale.c is
    using.

-----------------------------------------------------------------------

Summary of changes:
 configure.com             | 2 +-
 dist/Storable/Makefile.PL | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.com b/configure.com
index 7148d374bd..ff08b1de18 100644
--- a/configure.com
+++ b/configure.com
@@ -6600,7 +6600,7 @@ $ WC "i_unistd='" + i_unistd + "'"
 $ WC "i_ustat='undef'"
 $ WC "i_utime='" + i_utime + "'"
 $ WC "i_vfork='undef'"
-$ WC "i_wchar='undef'"
+$ WC "i_wchar='define'"
 $ WC "i_xlocale='undef'"
 $ WC "inc_version_list='0'"
 $ WC "inc_version_list_init='0'"
diff --git a/dist/Storable/Makefile.PL b/dist/Storable/Makefile.PL
index 2e0c79c833..a9cdb87bdb 100644
--- a/dist/Storable/Makefile.PL
+++ b/dist/Storable/Makefile.PL
@@ -9,6 +9,7 @@
 use ExtUtils::MakeMaker;
 use Config;
 use File::Copy qw(move copy);
+use File::Spec;
 
 unlink "lib/Storable/Limit.pm";
 
@@ -84,8 +85,9 @@ sub depend {
         # blib.pm needs arch/lib
         $extra_deps = ' Storable.pm';
     }
+    my $limit_pm = File::Spec->catfile('lib', 'Storable', 'Limit.pm');
     "
-lib/Storable/Limit.pm : \$(INST_DYNAMIC)$extra_deps
+$limit_pm : \$(INST_DYNAMIC)$extra_deps
        \$(MKPATH) \$(INST_LIB)
        \$(PERLRUNINST) stacksize
 

-- 
Perl5 Master Repository

Reply via email to