summaryrefslogtreecommitdiffstats
path: root/inc/MMPackageStash.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-21 13:30:04 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-21 13:30:04 -0400
commit0ca85d679db6f85759b23918c3aeada201ce840b (patch)
tree820be2f7498aecb946a078a6560894e71c76cd60 /inc/MMPackageStash.pm
parent1025023d832447288b6dcfd6e5e60364c0b84884 (diff)
downloadpackage-stash-0ca85d679db6f85759b23918c3aeada201ce840b.tar.gz
package-stash-0ca85d679db6f85759b23918c3aeada201ce840b.zip
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.
Diffstat (limited to 'inc/MMPackageStash.pm')
-rw-r--r--inc/MMPackageStash.pm3
1 files changed, 2 insertions, 1 deletions
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';