# 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 };
-*MY::postamble = sub {
- my ($self, %extra) = @_;
- join('', %extra) if keys %extra;
-} if not &MY::postamble;
+sub MY::postamble {
+ '$(OBJECT) : stolen_chunk_of_toke.c'
+}
WriteMakefile(
NAME => 'Devel::Declare',
C => [ 'stolen_chunk_of_toke.c' ],
XS => { 'Declare.xs' => 'Declare.c' },
- postamble => { '' => '$(OBJECT) : stolen_chunk_of_toke.c' },
$pkg->get_makefile_vars,
);
BEGIN { -e 'Distar' or system("git clone git://git.shadowcat.co.uk/p5sagit/Distar.git") }
use lib 'Distar/lib';
-use Distar;
+use Distar 0.001000; # so postamble is not stomped on
author 'Matt S Trout - <mst@shadowcat.co.uk> - original author';