-=| Paul LeoNerd Evans, Fri, Feb 27, 2009 at 04:43:38PM +0000 |=- > > I have a $HOME/.modulebuildrc containing the following, which I find > useful for directly installing modules in my $HOME: > > install install_base=~ > > When running through dh-make-perl this file needs to be ignored, or else > bad things happen: > > W: libio-async-perl: file-in-unusual-dir root/lib/perl5/IO/Async.pm > > I find that the following change fixes it: > > --- debian/rules 2009-02-27 16:40:25.000000000 +0000 > +++ debian/rules 2009-02-27 16:38:49.000000000 +0000 > @@ -40,7 +40,7 @@ > dh_testroot > dh_clean -k > # Add commands to install the package into $(TMP) here > - $(PERL) Build install destdir=$(TMP) create_packlist=0 > + MODULEBUILDRC=/dev/null $(PERL) Build install destdir=$(TMP) > create_packlist=0 > touch $@
That won't work with short DH7 debian/rules dh-make-perl uses nowadays. I guess putting MODULEBUILDRC=/dev/null in the environment before firing dpkg-buildpackage is a better idea (provided that dpkg-buildpackage doesn't sanitize the environment). -- dam JabberID: d...@jabber.minus273.org
signature.asc
Description: Digital signature