Package: debhelper Version: 7.0.17 The dh_auto_configure and/or dh_auto_build scripts don't currently support DEB_BUILD_OPTIONS=noopt (policy 4.9.1) with Perl XS modules. Neither Makefile.PL nor Build.PL build systems look at CFLAGS (set by at least dpkg-buildpackage), so they need special treatment.
The XS templates in dh-make-perl 0.48 have this: $(PERL) Makefile.PL INSTALLDIRS=vendor $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" $(PERL) Build.PL installdirs=vendor config=optimize="$(CFLAGS)" OPTIMIZE="$(CFLAGS)" $(PERL) Build but based on my tests with liblocale-gettext-perl and libauthen-dechpwd-perl, these would also do: $(PERL) Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$(CFLAGS)" $(MAKE) LD_RUN_PATH="" $(PERL) Build.PL installdirs=vendor config=optimize="$(CFLAGS)" $(PERL) Build which would mean just dh_auto_configure needs changing. -- Niko Tyni [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]