Michael G Schwern wrote:
Sisyphus wrote:
Is there a link to a tarball for this ?

Sorry, I neglected to post my slew of alternative links.

http://www.pobox.com/~schwern/src/ExtUtils-MakeMaker-6.30_03.tar.gz

All tests OK here on Win32 using VC6/nmake, VC7/nmake, BCC/dmake and GCC/dmake.

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.

--


------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only. If you have received this 
message in error or there are any problems, please notify the sender 
immediately. The unauthorized use, disclosure, copying or alteration of this 
message is strictly forbidden. Note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of Radan Computational Ltd. The recipient(s) of this message should check 
it and any attached files for viruses: Radan Computational will accept no 
liability for any damage caused by any virus transmitted by this email.
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