This code breaks on the EUMM version that'll be shipped with 5.14.0 due to a bug
in EUMM itself. However, if we stop doing crazy shit to prevent oldinterface.pod
to be installed, things will be fine. Also, at least recent versions of EUMM
won't install that extra pod file anyway. I haven't tested on older ones, but
I'm quite sure we don't care, as all that could go wrong is one extra file being
installed.
# the contents of the Makefile that is written.
# Work around bug in previous versions of MakeMaker
-WriteMakefile(NAME => 'FCGI')
- if $ExtUtils::MakeMaker::VERSION <= 5.4302;
-
-$mm = MM->new({
+WriteMakefile(
'NAME' => 'FCGI',
'VERSION_FROM' => 'version.pm',
'dist' => {
'PL_FILES' => $plfiles,
PM => {'FCGI.pm' => '$(INST_ARCHLIBDIR)/FCGI.pm'},
@extras,
-});
-# don't install oldinterface pod
-delete $mm->{MAN3PODS}{oldinterface.pod};
-$mm->flush;
+);
exit if -f 'fcgi_config.h' or $libfound or $pure;