On Fri, Mar 18, 2005 at 04:20:21PM -0800, Michael G Schwern wrote:
> Nothing critical has been been reported (that hasn't been fixed) in 6.25_11
> so 6.25_12 has just been released.  Unless I hear otherwise by Tuesday this
> will become ExtUtils::MakeMaker 6.26.
> 
> Why make such a fuss?  Because I'll be offering 6.26 as being stable enough
> for 5.8.x, the first new release of MM to go into a stable Perl since 6.21
> almost a year and a half ago and thus setting any breakages in backwards
> compatibility in, if not stone, some pretty damn thick mud.

I encountered a problem with quoting when running a cygwin gcc (in
this case, in "-mno-cygwin" MinGW mode) from a non-cygwin make that
the following patch would fix, but I've been hesitant to send it to
you because I don't know what all platforms go through that code, and
know how likely quoting changes are to mess things up in obscure ways,
and also because I feel the cygwin behavior is buggy, though unlikely
to change.  But here it is, nevertheless.  Maybe if nothing else it
can be the first patch towards 6.27.

--- perlwin32/lib/ExtUtils/MM_Unix.pm.orig      2004-12-15 05:11:11.000000000 
-0800
+++ perlwin32/lib/ExtUtils/MM_Unix.pm   2005-01-04 21:40:03.780769600 -0800
@@ -366,8 +366,8 @@
     return $self->{CONST_CCCMD} =
        q{CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \\
        $(CCFLAGS) $(OPTIMIZE) \\
-       $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \\
-       $(XS_DEFINE_VERSION)};
+       $(PERLTYPE) $(MPOLLUTE) "$(DEFINE_VERSION)" \\
+       "$(XS_DEFINE_VERSION)"};
 }
 
 =item const_config (o)


For more information on why this is needed, see Corinna's explanations
in this thread: http://sourceware.org/ml/cygwin/2005-01/msg00661.html

Reply via email to