This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add required dependency for $(VERSION_FROM) target in Makefile.PL
authorPali <pali@cpan.org>
Sun, 2 Jun 2019 11:34:45 +0000 (13:34 +0200)
committerNicolas R <atoomic@cpan.org>
Fri, 27 Sep 2019 20:35:58 +0000 (14:35 -0600)
(cherry picked from commit 4b59ba9792a43a0891ad07adff7b15b11b239649)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/Makefile.PL

index 133e9b6..97b02d0 100644 (file)
@@ -43,7 +43,10 @@ WriteMakefile(%mf);
 sub configure
 {
   my @clean    = qw{ $(H_FILES) RealPPPort.xs RealPPPort.c PPPort.pm };
-  my %depend   = ('$(OBJECT)' => '$(H_FILES)');
+  my %depend   = (
+    '$(OBJECT)' => '$(H_FILES)',
+    'Makefile' => '$(VERSION_FROM)',
+  );
   my @C_FILES  = qw{ module2.c module3.c },
   my %PL_FILES = (
     'ppport_h.PL'  => 'ppport.h',