X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=9b7b1ce63f4d951f5d60a6654f3b3b7664b691b6;hb=576de1063fbf94e8233c4794c4b0728101c50952;hp=f91ea8b2d7bb1ecf057b0cfec648564a018da57a;hpb=f0bb153bd48201bbf98d7cf065dacae578315d08;p=catagits%2FCatalyst-Runtime.git diff --git a/Makefile.PL b/Makefile.PL index f91ea8b..9b7b1ce 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -88,6 +88,7 @@ author_requires(map {; $_ => 0 } qw( Test::NoTabs Test::Pod Test::Pod::Coverage + Test::Spelling Pod::Coverage::TrustPod )); @@ -170,8 +171,8 @@ sub darwin_check_no_resource_forks { # TAR on 10.4 wants COPY_EXTENDED_ATTRIBUTES_DISABLE # On 10.5 (Leopard) it wants COPYFILE_DISABLE - die("Oh, you got Ceiling Cat, snazzy. Please read the man page for tar or Google to find out if Apple renamed COPYFILE_DISABLE (it was COPY_EXTENDED_ATTRIBUTES_DISABLE originally) again and fix this Makefile.PL please?\n") if $osx_ver =~ /^10.7/; - my $attr = $osx_ver =~ /^10.(5|6)/ ? 'COPYFILE_DISABLE' : 'COPY_EXTENDED_ATTRIBUTES_DISABLE'; + die("Oh, you got Ceiling Cat, snazzy. Please read the man page for tar or Google to find out if Apple renamed COPYFILE_DISABLE (it was COPY_EXTENDED_ATTRIBUTES_DISABLE originally) again and fix this Makefile.PL please?\n") if $osx_ver =~ /^10.8/; + my $attr = $osx_ver =~ /^10.(5|6|7)/ ? 'COPYFILE_DISABLE' : 'COPY_EXTENDED_ATTRIBUTES_DISABLE'; makemaker_args(dist => { PREOP => qq{\@if [ "\$\$$attr" != "true" ]; then}. qq{ echo "You must set the ENV variable $attr to 'true',"; }.