Skip to content

Instantly share code, notes, and snippets.

@rbuels
Created November 2, 2009 06:20
Show Gist options
  • Select an option

  • Save rbuels/223998 to your computer and use it in GitHub Desktop.

Select an option

Save rbuels/223998 to your computer and use it in GitHub Desktop.
ob@banana b-hooks-op-check-stashchange (master*)$ perl Makefile.PL
include /crypt/rob/dev/general/b-hooks-op-check-stashchange/inc/Module/Install.pm
Module::Install: missing configure_requires dependency:
Can't locate ExtUtils/Depends.pm in @INC (@INC contains: inc /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . CODE(0x8dfa8d0)) at Makefile.PL line 9.
BEGIN failed--compilation aborted at Makefile.PL line 9.
rob@banana b-hooks-op-check-stashchange (master*)$
use strict;
use warnings;
use inc::Module::Install;
BEGIN {
push @INC, sub {
warn "Module::Install: missing configure_requires dependency:\n";
};
}
use ExtUtils::Depends;
use B::Hooks::OP::Check;
name 'B-Hooks-OP-Check-StashChange';
all_from 'lib/B/Hooks/OP/Check/StashChange.pm';
requires 'parent';
requires 'B::Hooks::OP::Check' => '0.14';
test_requires 'Test::More';
build_requires 'B::Hooks::OP::Check' => '0.14';
configure_requires 'B::Hooks::OP::Check' => '0.14';
configure_requires 'ExtUtils::Depends';
my $pkg = ExtUtils::Depends->new('B::Hooks::OP::Check::StashChange', 'B::Hooks::OP::Check');
$pkg->install('hook_op_check_stashchange.h');
$pkg->add_xs('StashChange.xs');
$pkg->add_pm('lib/B/Hooks/OP/Check/StashChange.pm' => '$(INST_LIB)/B/Hooks/OP/Check/StashChange.pm');
mkdir 'build';
$pkg->save_config('build/IFiles.pm');
makemaker_args(
$pkg->get_makefile_vars,
FUNCLIST => [qw/hook_op_check_stashchange hook_op_check_stashchange_remove/],
DL_FUNCS => { 'B::Hooks::OP::Check::StashChange' => [] },
dist => { PREOP => 'pod2text lib/B/Hooks/OP/Check/StashChange.pm > README' },
);
repository 'git://github.com/rafl/b-hooks-op-check-stashchange.git';
bugtracker 'http://rt.cpan.org/Public/Dist/Display.html?Name=B-Hooks-OP-Check-StashChange';
#extra_tests; #< this b0rks, do you need to load ExtraTests ext?
WriteAll;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment