summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--dist.ini1
-rw-r--r--inc/MMPackageStash.pm3
2 files changed, 3 insertions, 1 deletions
diff --git a/dist.ini b/dist.ini
index 332fafd..a37a064 100644
--- a/dist.ini
+++ b/dist.ini
@@ -22,6 +22,7 @@ PodWeaver_finder = WeaverFinder
skip = Variable::Magic
[Prereqs / RuntimeRecommends]
+; XXX keep this in sync with inc/MMPackageStash.pm
Package::Stash::XS = 0.26
[Prereqs / DevelopRequires]
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';