diff --git a/Changes b/Changes index cae4ab1..a32e583 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ Revision history for CGI-Info Mark Go-http-client as a robot Support CircleCI Fix t/script.t which failed on some platforms + Use gtar to create a distribution on Macs 0.82 Thu Aug 8 07:51:02 EDT 2024 Mark ClaudeBot as a robot diff --git a/Makefile.PL b/Makefile.PL index b540583..4422089 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,6 +9,15 @@ if(!-w $tmpdir) { exit(0); } +my $distargs = { + COMPRESS => 'gzip -9f', + SUFFIX => 'gz' +}; + +if($^O eq 'darwin') { + $distargs->{'TAR'} = 'gtar'; +} + WriteMakefile( NAME => 'CGI::Info', AUTHOR => q{Nigel Horne }, @@ -56,8 +65,7 @@ WriteMakefile( 'Class::Autouse' => 0, 'namespace::clean' => 0, 'Sys::Path' => 0, - }, - dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, + }, dist => $distargs, clean => { FILES => 'CGI-Info-*' }, # META_ADD => { # provides => {}