Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 4211
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: qboosh [...] pld-linux.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.21
Fixed in: (no value)



Subject: config='val=arg' command-line option doesn't work
Download (untitled) / with headers
text/plain 686b
config='val=arg' option doesn't work as documented in Module::Build manual. It's stored in "args" hash (and there visible in dumped config file), but not used anymore (options from "config" hash from "args" don't override options from "config" hash). Therefore when I try e.g. to override "optimize" option by "perl Build.PL config='optimize=-O0 -g'" for some module (to build some shared object for debug purposes independently of compiler flags used to build perl itself), it's still compiled using flags taken from perl's Config.pm. The patch I've made maybe is not very nice, but works. It's available in PLD CVS at: http://cvs.pld-linux.org/SOURCES/perl-Module-Build-config.patch
Thanks, I've just fixed this in CVS and it should be ready in the next release. -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.