Bug#568748: lintian: check for deprecated Debian-specific Makefile.PL usage

Niko Tyni ntyni at debian.org
Sun Feb 7 14:14:04 UTC 2010


Package: lintian
Version: 2.3.3
Severity: wishlist

As discussed in #545904, about 250 perl library packages use an obsolete
way of overriding the installation directory at build time. Please consider
the attached patch, which adds a check for Makefile.PL based packages using 
 make install PREFIX=something
without setting DESTDIR.

This would allow us to eventually remove a Debian-specific patch to
ExtUtils::MakeMaker as upstream has long ago provided a different way
to get the same behaviour.

There's some room for both false positives and negatives, as lintian
doesn't parse debian/rules very carefully, ignoring at least continuation
lines and end of line comments. I'll try to address that with a separate
patch.

Thanks for your work on lintian,
-- 
Niko Tyni   ntyni at debian.org


More information about the Perl-maintainers mailing list