From: chansen Date: Mon, 26 Sep 2011 09:03:27 +0000 (+0200) Subject: Removed genereating of FCGI.pm X-Git-Tag: 0.75~7^2~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2Ffcgi2.git;a=commitdiff_plain;h=f1bd23d56487edd73afc79605a3b82a23f672b81 Removed genereating of FCGI.pm --- diff --git a/perl/FCGI.PL b/perl/FCGI.pm similarity index 89% rename from perl/FCGI.PL rename to perl/FCGI.pm index be63f37..df678cb 100644 --- a/perl/FCGI.PL +++ b/perl/FCGI.pm @@ -1,40 +1,13 @@ -use Config; -use ExtUtils::MakeMaker; - -open OUT, ">FCGI.pm"; - -print "Generating FCGI.pm\n"; -print OUT <<'EOP'; -# $Id: FCGI.PL,v 1.37 2002/12/15 20:02:48 skimo Exp $ - package FCGI; require Exporter; require DynaLoader; @ISA = qw(Exporter DynaLoader); -# Items to export into callers namespace by default. Note: do not export -# names by default without a very good reason. Use EXPORT_OK instead. -# Do not simply export all your public functions/methods/constants. -@EXPORT = qw( - -); - -EOP - -print OUT '$VERSION = q{'.MM->parse_version('version.pm')."};\n\n"; - -print OUT "bootstrap FCGI;\n"; - -print OUT '$VERSION = eval $VERSION;'; - -print OUT while ; -close OUT; -__END__ -# Preloaded methods go here. +$VERSION = '0.73'; -# Autoload methods go after __END__, and are processed by the autosplit program. +bootstrap FCGI; *FAIL_ACCEPT_ON_INTR = sub() { 1 }; diff --git a/perl/MANIFEST b/perl/MANIFEST index 6e02c14..ff2c5c7 100644 --- a/perl/MANIFEST +++ b/perl/MANIFEST @@ -1,5 +1,5 @@ ChangeLog -FCGI.PL +FCGI.pm FCGI.xs MANIFEST Makefile.PL diff --git a/perl/Makefile.PL b/perl/Makefile.PL index 27a45e8..167d1f6 100644 --- a/perl/Makefile.PL +++ b/perl/Makefile.PL @@ -78,7 +78,6 @@ $plfiles = { 'echo.PL' => 'echo.fpl', 'remote.PL' => 'remote.fpl', 'threaded.PL' => 'threaded.fpl', - 'FCGI.PL' => 'FCGI.pm', }; if ("$sys" eq "win32") { @@ -97,7 +96,7 @@ push @extras, # Work around bug in previous versions of MakeMaker WriteMakefile( 'NAME' => 'FCGI', - 'VERSION_FROM' => 'version.pm', + 'VERSION_FROM' => 'FCGI.pm', 'dist' => { 'COMPRESS' => 'gzip -9f', 'SUFFIX' => 'gz',