Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow additions to PERL_MB_OPT #182

Open
djerius opened this issue Aug 20, 2020 · 3 comments
Open

Allow additions to PERL_MB_OPT #182

djerius opened this issue Aug 20, 2020 · 3 comments

Comments

@djerius
Copy link

djerius commented Aug 20, 2020

Some distributions have custom Module::Build options that need to be applied, but cpm overrides the PERL_MB_OPT variable.

For example, Params::Validate v1.29 doesn't recognize --pureperl_only, but does recognize --pp.

I'd like to be able to do something equivalent to this:

PERL_MB_OPT=--pp cpan Params::Validate

Thanks,
Diab

@skaji
Copy link
Owner

skaji commented Aug 20, 2020

For --pureperl-only, it is defined in The Lancaster Consensus.

@djerius
Copy link
Author

djerius commented Aug 20, 2020

Agreed, it's just that there are older modules which don't support it yet, so the ability to add options to Build.PL would be useful.

@skaji
Copy link
Owner

skaji commented Aug 22, 2020

Actually, I thought cpm respected PERL_MM_OPT.
But, it turns out that local::lib overwrite the environment variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants