[Build-common-hackers] Bug#481893: in some cases it is impossible to input options for Makefile.PL

Dmitry E. Oboukhov dimka at avanto.org
Mon May 19 11:30:12 UTC 2008


Package: cdbs
Version: 0.4.52
Severity: normal
Tags: patch

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cdbs.diff
Type: text/x-diff
Size: 836 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20080519/cdce48e0/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20080519/cdce48e0/attachment.pgp 


More information about the Build-common-hackers mailing list