in reply to Re^3: Clean smoke-test install for Inline based modules using Inline::MakeMaker
in thread Clean smoke-test install for Inline based modules using Inline::MakeMaker
Hammered? Its much ado about nothing
SmokeTesters Complain of Missing Dependencies Which a Module's Makefile.PL Requires
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
#!/usr/bin/perl -- BEGIN { unless( eval { require Inline::MakeMaker; 1; } ){ warn "Warning: prerequisite Inline::MakeMaker 0 not found.\n"; exit 0; } }
#!/usr/bin/perl -- use ExtUtils::MakeMaker(); if( eval { require Inline::MakeMaker; 1; } ) { *WriteMakefile = \Inline::MakeMaker::WriteMakefile; } else { *WriteMakefile = \&ExtUtils::MakeMaker::WriteMakefile; } WriteMakefile( ... PREREQ_PM => { 'Inline::CPP' => 0.33, 'Inline::MakeMaker' => 0, ... }, )
But its a whole bunch of effort to avoid some Makefile.PL boilerplate (the essence of Inline::MakeMaker), or switching to Module::Install
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Clean smoke-test install for Inline based modules using Inline::MakeMaker
by syphilis (Archbishop) on Dec 15, 2011 at 10:10 UTC | |
by Anonymous Monk on Dec 15, 2011 at 11:08 UTC |