r27284 - /trunk/dh-make-perl/dh-make-perl
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Wed Nov 26 09:39:43 UTC 2008
Author: dmn
Date: Wed Nov 26 09:39:40 2008
New Revision: 27284
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27284
Log:
create AptContents instance in the main course and give it to extract_depends
Modified:
trunk/dh-make-perl/dh-make-perl
Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/dh-make-perl?rev=27284&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Wed Nov 26 09:39:40 2008
@@ -402,6 +402,11 @@
&& die
"The directory $debiandir is already present and I won't overwrite it: remove it yourself.\n";
+my $apt_contents = AptContents->new({
+ homedir => $homedir,
+});
+
+
$module_build = ( -f "$maindir/Build.PL" ) ? "Module-Build" : "MakeMaker";
extract_changelog($maindir);
extract_docs($maindir);
@@ -414,7 +419,7 @@
$depends .= ', ${shlibs:Depends}' if $arch eq 'any';
$depends .= ', ${misc:Depends}';
-my $extradeps = extract_depends( $maindir, $meta );
+my $extradeps = extract_depends( $maindir, $apt_contents );
$depends
= join( ', ', $depends || (), $opts{depends} || (), $extradeps || (), );
More information about the Pkg-perl-cvs-commits
mailing list