r53493 - in /trunk/dh-make-perl: debian/changelog lib/DhMakePerl.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Tue Mar 2 10:35:47 UTC 2010
Author: dmn
Date: Tue Mar 2 10:35:09 2010
New Revision: 53493
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53493
Log:
package_already_exists: fix a 'Can't modify non-lvalue subroutine call' warning. Thanks to Jozef Kutej for the report and the patch.
Modified:
trunk/dh-make-perl/debian/changelog
trunk/dh-make-perl/lib/DhMakePerl.pm
Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=53493&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Tue Mar 2 10:35:09 2010
@@ -8,6 +8,8 @@
* do not crash when APT's package cache cannot be opened
* explain reasons when bumping build-dependencies on debhelper/quilt/etc
* fix build-system detection when Module::Build::Compat is in play
+ * package_already_exists: fix a 'Can't modify non-lvalue subroutine call'
+ warning. Thanks to Jozef Kutej for the report and the patch.
-- Damyan Ivanov <dmn at debian.org> Fri, 19 Feb 2010 22:47:26 +0200
Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=53493&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Tue Mar 2 10:35:09 2010
@@ -2071,7 +2071,7 @@
= $apt_contents->find_perl_module_package( $self->perlname );
if ($found) {
- my $mod_name = $self->perlname =~ s/-/::/g;
+ ( my $mod_name = $self->perlname ) =~ s/-/::/g;
warn "**********\n";
warn "NOTICE: the package '$found', available in APT repositories\n";
warn " already contains a module named "
More information about the Pkg-perl-cvs-commits
mailing list