diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-09-21 13:30:04 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-09-21 13:30:04 -0400 |
commit | 0ca85d679db6f85759b23918c3aeada201ce840b (patch) | |
tree | 820be2f7498aecb946a078a6560894e71c76cd60 | |
parent | 1025023d832447288b6dcfd6e5e60364c0b84884 (diff) | |
download | package-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.ini | 1 | ||||
-rw-r--r-- | inc/MMPackageStash.pm | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -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'; |