]> git.vpit.fr Git - perl/modules/CPANPLUS-Dist-Gentoo.git/commitdiff
The dependencies we compute are the run-time dependencies, so put them in RDEPEND
authorVincent Pit <vince@profvince.com>
Tue, 8 Sep 2009 14:18:49 +0000 (16:18 +0200)
committerVincent Pit <vince@profvince.com>
Tue, 8 Sep 2009 14:18:49 +0000 (16:18 +0200)
And set DEPEND to RDEPEND for now.

lib/CPANPLUS/Dist/Gentoo.pm

index 8a75c24e09e546feba90ed628a26fb6631aa2a90..2b2ba21b242acb51982fc0ea7136988c8c42b2ae 100644 (file)
@@ -463,7 +463,8 @@ sub ebuild_source {
  $d   .= "SLOT=\"0\"\n";
  $d   .= 'LICENSE="|| ( ' . join(' ', sort @{$stat->license}) . " )\"\n";
  $d   .= 'KEYWORDS="' . join(' ', sort @{$stat->keywords}) . "\"\n";
- $d   .= 'DEPEND="' . join("\n", @deps) . "\"\n";
+ $d   .= 'RDEPEND="' . join("\n", @deps) . "\"\n";
+ $d   .= "DEPEND=\"\${RDEPEND}\"\n";
  $d   .= "SRC_TEST=\"do\"\n";
  $d   .= $stat->footer;