Update of /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-Grid
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12378/Win32-GUI-Grid

Modified Files:
        Makefile.PL 
Log Message:
Fix cygwin and mingw builds

Index: Makefile.PL
===================================================================
RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-Grid/Makefile.PL,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Makefile.PL 11 Jun 2006 16:42:11 -0000      1.2
--- Makefile.PL 11 Jun 2006 21:00:16 -0000      1.3
***************
*** 1,5 ****
  #!perl -w
  use strict;
! use warnings;
  
  # Makefile.PL for Win32::GUI::Grid
--- 1,5 ----
  #!perl -w
  use strict;
! #use warnings;
  
  # Makefile.PL for Win32::GUI::Grid
***************
*** 45,50 ****
  
  Win32::GUI::Grid can only be built using MSVC, not '$Config{cc}',
! as it requires the MFC framework.  Win32::GUI::Grid will be skipped
! during the current build process.
  
  __EXPLAIN
--- 45,50 ----
  
  Win32::GUI::Grid can only be built using MSVC, not '$Config{cc}',
! as it requires the MFC framework.
! Win32::GUI::Grid will be skipped during the current build process.
  
  __EXPLAIN
***************
*** 57,60 ****
--- 57,66 ----
  package MY;
  
+ sub special_targets {
+     my $inherited = shift->SUPER::special_targets(@_);
+     $inherited =~ s/^(.SUFFIXES.*)$/$1 .rc .res/m;
+     return $inherited;
+ }
+ 
  sub xs_c {
    my $inherited = shift->SUPER::xs_c(@_);


Reply via email to