[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proposed mass bug filing: /usr/lib/perl5 is changing with Perl 5.20



Stephen Kitt wrote:
> > > I have a package.install file that contains a line
> > > /usr/lib/perl5/
> > > 
> > > I could not change it to /usr/lib/*/perl5/ because it will fail
> > > with old ABI. I use now /usr/lib{/*/,/}perl5/ but it work by
> > > chance and lintian warn me.
> > 
> > Yeah, that's a bit cumbersome. One possibility is what Damyan Ivanov came
> > up with for libgtk2-perl: have something like debian/package.install.in
> > and preprocess it during the build to expand $Config{archlib}. See
> > 
> >  http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libgtk2-perl.git;a=commitdiff;h=88e0482c234c480e4d86fe44e933f7d38b8bfa43
> 
> Alternatively, you can use executable debhelper configuration files; simply
> make debian/package.install an executable shell script (or Perl script or
> whatever), and the output of its execution will be used instead of the file's
> contents.

Yes, that also came to my mind when I read about debhelper with .in
files. I'd definitely prefer the executable ones over .in files.

It would also avoid the override_dh_auto_install shown in the example
above.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


Reply to: