r54322 - /trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sun Mar 14 17:23:43 UTC 2010


Author: dmn
Date: Sun Mar 14 17:23:36 2010
New Revision: 54322

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=54322
Log:
Packaging/discover_utility_deps: also add ${misc/perl/shlibs:Depends}

Modified:
    trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm

Modified: trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm?rev=54322&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm Sun Mar 14 17:23:36 2010
@@ -1052,6 +1052,11 @@
         $self->explained_dependency( 'Module::Build', $deps,
             'perl (>= 5.10) | libmodule-build-perl' );
     }
+
+    # some mandatory dependencies
+    my $bin_deps = $control->binary->[0]->Depends;
+    $bin_deps += '${shlibs:Depends}' if $self->arch eq 'any';
+    $bin_deps += '${misc:Depends}, ${perl:Depends}';
 }
 
 =item makefile_pl_is_MBC




More information about the Pkg-perl-cvs-commits mailing list