From: Karen Etheridge Date: Thu, 17 Jul 2014 00:10:35 +0000 (-0700) Subject: declare MIN_PERL_VERSION in Makefile.PL X-Git-Tag: 0.75~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0a90482ae79f8189955d5af964183973b310d35a;hp=c8a45dca0bb0ceb231740a7840cb027a71394c36;p=catagits%2Ffcgi2.git declare MIN_PERL_VERSION in Makefile.PL --- diff --git a/perl/Makefile.PL b/perl/Makefile.PL index b3b7db7..f35c97e 100644 --- a/perl/Makefile.PL +++ b/perl/Makefile.PL @@ -75,6 +75,17 @@ push @extras, META_MERGE => { }, } if $ExtUtils::MakeMaker::VERSION >= 6.46; +push(@extras, + MIN_PERL_VERSION => '5.006', +) if $ExtUtils::MakeMaker::VERSION >= 6.48; + +# not strictly necessary as everything is in core... +#push(@extras, +# CONFIGURE_REQUIRES => { +# ... +# }, +#) if $ExtUtils::MakeMaker::VERSION >= 6.51_03; + if ("$sys" eq "win32") { push @libs, ":nosearch -lws2_32"; push @extras, 'DEFINE' => '-DDLLAPI=__declspec(dllexport)';