perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: modperl-2.0 Makefile.PL
Date Mon, 22 Oct 2001 18:19:35 GMT
dougm       01/10/22 11:19:35

  Modified:    .        Makefile.PL
  Log:
  need touch dummy libmodperl.lib for win32 WrapXS/ Makefile.PLs
  
  Revision  Changes    Path
  1.50      +12 -0     modperl-2.0/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- Makefile.PL	2001/10/22 04:51:14	1.49
  +++ Makefile.PL	2001/10/22 18:19:35	1.50
  @@ -56,6 +56,18 @@
   post_configure();
   
   sub configure {
  +    if (Apache::Build::is_win32()) {
  +        #Makefile.PL's in WrapXS/ just need to pass the -e libmodperl.lib test
  +        #the real libmodperl.lib will be in place when WrapXS/ dll's are
  +        #actually linked
  +        my $lib = "src/modules/perl/$build->{MP_LIBNAME}.lib";
  +        unless (-e $lib) {
  +            open my $fh, '>', $lib or die "open $lib: $!";
  +            print $fh "#this is a dummy file to trick MakeMaker";
  +            close $fh;
  +        }
  +    }
  +
       system_sanity_check();
       set_modperl_version();
   
  
  
  

Mime
View raw message