On Thu, 14 May 2009 14:26:15 -0400, Joey Hess wrote: > So it's not as simple as just unconditionally adding the option. (#528647) Right, sorry for missing this case. > Before I jump into another half-thought-out fix, is there any > chance that Module::Install could be fixed to not need > --skipdeps on Debian, AFAIK that won't work, because Module::Install is partly shipped within the module (under inc/). From the documentation: Rather than try to target one specific installer and/or make you add twisty workaround expressions to every piece of install code you write, Module::Install will copy part of itself into each module distribution it creates. > or given a way to disable the behavior > that can be passed into any Makefile.PL? (Perhaps an env var?) Ha! From Module::AutoInstall(3): ENVIRONMENT Module::AutoInstall uses a single environment variable, "PERL_AUTOINSTALL". It is taken as the command line argument passed to Makefile.PL; you could set it to "--alldeps", "--defaultdeps" or "--skipdeps" to avoid all interactive behaviour. "--alldeps" will install all features, while "--defaultdeps" will only install features for which the default answer is 'y'. "--skipdeps" will refrain from loading CPAN and not install anything, unless you're running under CPAN or CPANPLUS, in which case required dependencies will be installed. It also read from the "PERL_EXTUTILS_AUTOINSTALL" environment variable if "PERL_AUTOINSTALL" is not defined. If now tested the following: override_dh_auto_configure: PERL_AUTOINSTALL="--skipdeps" perl Makefile.PL INSTALLDIRS=vendor create_packlist=0 with three Makefile.PLs (ExtUtils::MakeMaker, Module::Install, Module::Build::Compat), and I've seen no problems so far. Again, sorry for my mistake. Cheers, gregor -- .''`. Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/ `- NP: Red Hot Chili Peppers: Soul To Squeeze
Attachment:
signature.asc
Description: Digital signature