From: Karen Etheridge Date: Fri, 5 Aug 2016 21:55:38 +0000 (-0700) Subject: move this make dependency from postamble to "depends" attribute X-Git-Tag: v0.006019~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=181a3acfbbdae2cba7948dc6403b0ec67e2fab59;p=p5sagit%2FDevel-Declare.git move this make dependency from postamble to "depends" attribute --- diff --git a/Makefile.PL b/Makefile.PL index 3796acf..5ef9cee 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -17,10 +17,6 @@ my %TEST_DEPS = ( # have to do this since old EUMM dev releases miss the eval $VERSION line my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 }; -sub MY::postamble { - '$(OBJECT) : stolen_chunk_of_toke.c' -} - WriteMakefile( NAME => 'Devel::Declare', AUTHOR => 'Matt S Trout - - original author', @@ -83,6 +79,7 @@ WriteMakefile( C => [ 'Declare.c' ], XS => { 'Declare.xs' => 'Declare.c' }, + depend => { '$(OBJECT)' => 'stolen_chunk_of_toke.c' }, $pkg->get_makefile_vars, );