Bug#480110: Module::Build and optimisation options -- DH7?

Damyan Ivanov dmn at debian.org
Thu May 8 06:54:16 UTC 2008


> > > > (BTW, debian/rules needs something like 
> > >   $(PERL) Build.PL installdirs=vendor config=optimize="$(CFLAGS)"
> > >  to honour DEB_BUILD_OPTIONS=noopt.)
> > 
> > The following line has
> >    OPTIMIZE="$(CFLAGS)" $(PERL) Build
> > 
> > Won't that do it?
> 
> Just try it, it's using -O2 even with 
> "DEB_BUILD_OPTIONS=noopt ./debian/rules build".
> 
> The "config=..." trick was the best I came up when I looked into this.

Hm, would this be the right time to suggest that dh-make-perl templates
move to DH7's minimalistic debian/rules?

That way fixing such bugs would take DH fix+binNMUs, rather than
dh-make-perl fix and a whole lot of sourceful uploads that need manual
intervention.


I am very much in favour of that, but if you see any obstacles, please
speak up (or remain silent forever:).


-- 
dam            JabberID: dam at jabber.minus273.org
-------------- 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/pkg-perl-maintainers/attachments/20080508/96f6dfd6/attachment.pgp 


More information about the pkg-perl-maintainers mailing list