Moving to multiarch-compatible XS paths

Axel Beckert abe at debian.org
Wed May 14 16:07:02 UTC 2014


Hi,

Niko Tyni wrote:
> Attached, both without and with Uploaders.

Thanks. A fix for eperl has been committed to git and will be pushed
soon.

> As I said, the changes look mostly trivial (usually just replace
> /usr/lib/perl5 with $(shell perl -V::vendorarch:) in debian/rules
> or something like that.)

Heads up! "perl -V::vendorarch:" seems to always add a blank at the
end of the output, hence the code

  mv $(TMP)$(shell perl -V::vendorarch:)/Apache $(TMP)/usr/share/perl5/

fails as follows:

  mv debian/eperl'/usr/lib/perl5' /Apache debian/eperl/usr/share/perl5/
  mv: cannot stat ‘/Apache’: No such file or directory

Workaround: Strip the blank, e.g. with sed:

  mv $(TMP)$(shell perl -V::vendorarch: | sed -e 's/ //')/Apache $(TMP)/usr/share/perl5/

Ugly, but does the job.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at 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




More information about the Perl-maintainers mailing list