From 0ca85d679db6f85759b23918c3aeada201ce840b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 21 Sep 2014 13:30:04 -0400 Subject: hardcode this for now [MakeMaker::Awesome] started generating Makefile.PL earlier, so we don't have the version information to introspect yet. since i don't feel like actually figuring out the new way to do things, just hardcode it for now. --- inc/MMPackageStash.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/MMPackageStash.pm') diff --git a/inc/MMPackageStash.pm b/inc/MMPackageStash.pm index 0c82483..7e27961 100644 --- a/inc/MMPackageStash.pm +++ b/inc/MMPackageStash.pm @@ -8,7 +8,8 @@ around _build_MakeFile_PL_template => sub { my $orig = shift; my $self = shift; - my $xs_version = $self->zilla->prereqs->requirements_for('runtime', 'recommends')->as_string_hash->{'Package::Stash::XS'}; + # XXX keep this in sync with dist.ini + my $xs_version = 0.26; # can_run and can_cc copied from M::I my $helpers = <<'HELPERS'; -- cgit v1.2.3-54-g00ecf