tags 648865 + patch thanks * Jakub Wilk <jw...@debian.org>, 2011-11-15, 19:04:
After the recent binNMU, libdevel-globaldestruction-perl doesn't work anymore with Perl 5.12:
AFAICS the problem is that if the module was built with Perl that supports the ${^GLOBAL_PHASE} variable, then such version of Perl would be also needed at runtime.
Proposed patch attached. -- Jakub Wilk
diff -Nru libdevel-globaldestruction-perl-0.04/debian/rules libdevel-globaldestruction-perl-0.04/debian/rules --- libdevel-globaldestruction-perl-0.04/debian/rules 2011-01-23 14:13:20.000000000 +0100 +++ libdevel-globaldestruction-perl-0.04/debian/rules 2011-11-15 19:25:36.000000000 +0100 @@ -2,3 +2,7 @@ %: dh $@ + +override_dh_perl: + dh_perl + perl -pi -e 'defined $${^GLOBAL_PHASE} and s/(perl:Depends=.*)/$$1, perl (>= 5.13.7)/' debian/libdevel-globaldestruction-perl.substvars