To make our lives marginally easier, we have an RPM of all of the CPAN packages we use (or conceivably would find useful) to distribute with our app. I'm trying to change it to install all of our stuff into vendor, and Module::Build itself refuses to do so.

I'm using CPAN-1903 with the moral equivalent of:

'mbuild_install_arg' => qq[--installdirs vendor --destdir %{buildroot}],

but I'm seeing the install line look like this:

        $PERL Build --makefile_env_macros 1 install

and I'm seeing this line flash by just before the "Installing..." lines:

Odd number of elements in hash assignment at lib/Module/Build/Base.pm line 1677.

and then all of M::B bits go into site_perl and share/man. Is there something else I can do (short of not using CPAN) to get Module::Build to behave?

John

Reply via email to