Bug#517423: dh-make-perl: Should ignore $HOME/.modulebuildrc

Damyan Ivanov dmn at debian.org
Sun Mar 8 21:07:41 UTC 2009


-=| 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: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090308/67cfe60c/attachment.pgp 


More information about the pkg-perl-maintainers mailing list