package cdbs tags 481893 confirmed,pending thanks On Mon, May 19, 2008 at 03:30:12PM +0400, Dmitry E. Oboukhov wrote:
Some Makefile.PL disassemble options with the help of Getopt::Std module, meanwhile if options are written in the end of command line, they will be ignored (because they must be declared before arguments).So the following construction (DEB_MAKEMAKER_USER_FLAGS = -n): perl Makefile.PL INSTALLDIRS=vendor -n doesn't work, but is impossible to receive the working construction perl Makefile.PL -n INSTALLDIRS=vendor with the help of cdbs without redefining the variable DEB_MAKEMAKER_INVOKE The patch in attach solves this problem.
Your proposed patch (moving DEB_MAKEMAKER_USER_FLAGS from perlmodule.mk to perlmodule-vars.mk) is sane in principle, but causes problems with packages both setting DEB_MAKEMAKER_USER_FLAGS and overriding DEB_MAKEMAKER_INVOKE: their user flags will silently get ignored.
Oh well - that's really a small corner case, I guess: let's just hope that the few users overriding DEB_MAKEMAKER_INVOKE include needed options their too.
Kind regards, and sorry for the extreme response time, - Jonas -- * Jonas Smedegaard - idealist og Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: Digital signature

