Steve Hay wrote:
However, I'd like to propose that the attached patch gets slipped into this release too. This patch removes the .SUFFIXES target from the Makefile generated when using dmake. I'm going to release a new build of dmake onto CPAN soon, and the latest version now issues a warning like the following whenever it sees the .SUFFIXES target:

dmake: makefile: line 415: Warning: -- The .SUFFIXES target has no special meaning and is deprecated.

As you can imagine, that makes quite a mess of various modules' build and test processes unless we get rid of the needless .SUFFIXES target.

Why are you removing the .SUFFIXES target?  Isn't it useful?  Won't that break 
compatibility (as demonstrated here)?


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

diff -ruN ExtUtils-MakeMaker-6.30_03.orig/lib/ExtUtils/MM_Win32.pm 
ExtUtils-MakeMaker-6.30_03/lib/ExtUtils/MM_Win32.pm
--- ExtUtils-MakeMaker-6.30_03.orig/lib/ExtUtils/MM_Win32.pm    2006-09-01 
19:42:40.000000000 +0100
+++ ExtUtils-MakeMaker-6.30_03/lib/ExtUtils/MM_Win32.pm 2006-09-05 
08:54:42.510695400 +0100
@@ -236,9 +236,13 @@
my $make_frag = $self->SUPER::special_targets; - $make_frag .= <<'MAKE_FRAG' if $self->make eq 'dmake';
+    if ($self->make eq 'dmake') {
+        $make_frag =~ s/^\.SUFFIXES.*\n$//m;
+
+        $make_frag .= <<'MAKE_FRAG'
 .USESHELL :
 MAKE_FRAG
+    }
return $make_frag;
 }
Files ExtUtils-MakeMaker-6.30_03.orig/t/vc60.pdb and 
ExtUtils-MakeMaker-6.30_03/t/vc60.pdb differ


Reply via email to