On Sat, 29 Jun 2013 03:21:29 -0400, Leon Timmermans via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=85006 >
>
> On Fri, Jun 28, 2013 at 11:05 PM, gregor herrmann via RT
> <bug-Module-Build-Tiny@rt.cpan.org> wrote:
> > In theory not really -- we'd need to get the change into
> > debhelper and CDBS (which call perl Build.PL and perl ./Build).
> Fixing CDBS seems easy enough.
Ack, should be just /usr/share/cdbs/1/class/perl-build-vars.mk.
Show quoted text> Don't see where debhelper needs a
> change, nor does it look like code I'd really want to touch.
/usr/share/perl5/Debian/Debhelper/Buildsystem/perl_build.pm
equally easy
Show quoted text> > But then we'd also need to make sure that packages which use
> > M::B::T build-depend on the fixed versions of debhelper or CDBS,
> > and this is where it starts to get tedious.
> Sounds like our configure-requirements issue. Modern practice has
> become to always use it, which does kind of help on the long run.
Sure, the issue is just that Debian has no centralized way to just
switch things.
Show quoted text> I
> think this can be fixed on a dh-make-perl level though.
Yes. And then people need to use the fixed version :)
(Maybe a lintian check
module-build-tiny-needs-newer-debhelper-or-cdbs would help.)
Show quoted text> > (I looked into Getopt::Long earlier today in the hope for a
> > config option to handle prefix-less key=value options but didn't
> > find anything. Looping over @ARGV, splitting args on '=' and
> > adding them to $opt{config} worked in a quick test but I assume
> > you want to avoid such a nastiness :))
> Considering --install_path lib=/foo/bar/ is currently already legal
> and that order can matter for precedence, any two phase approach is
> doomed.
Yeah, I'm afraid we have to take the long road ...
BTW: You mentioned earlier in this bug report a Build.PL spec; I'm
not really sure what you were referring to, could you give me a
pointer?
Cheers,
gregor
--
.''`. Homepage:
http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer -
http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Dire Straits: Telegraph Road