From: Vincent Pit Date: Tue, 8 Sep 2009 14:18:49 +0000 (+0200) Subject: The dependencies we compute are the run-time dependencies, so put them in RDEPEND X-Git-Tag: v0.09~31 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=e31fa569e864ee0bcbe807beaa23008ab5bded14;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git The dependencies we compute are the run-time dependencies, so put them in RDEPEND And set DEPEND to RDEPEND for now. --- diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index 8a75c24..2b2ba21 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -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;