Gentoo Archives: gentoo-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] why DEPEND and RDEPEND
Date: Thu, 13 May 2004 04:19:20
Message-Id: 200405131317.30233.jstubbs@gentoo.org
In Reply to: Re: [gentoo-dev] why DEPEND and RDEPEND by Andrew Gaffney
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Thursday 13 May 2004 12:55, Andrew Gaffney wrote:
5 > Jon Portnoy wrote:
6 > > On Wed, May 12, 2004 at 10:27:48PM -0500, Andrew Gaffney wrote:
7 > >>I was wondering why there was the separation between the compile-time
8 > >>depends (DEPEND) and the run-time depends (RDEPEND). Aren't all of them
9 > >>needed in order to run the program? Is there a practical reason for
10 > >>splitting them up?
11 > >
12 > > DEPEND is for *building* the package; consider binary packages.
13 >
14 > Yes, but run-time dependencies can be installed before the package itself.
15 > I still don't see a reason for splitting them up.
16
17 Three reasons:
18
19 a) Binary packages don't require run-time deps to be installed when building.
20 b) emerging using ${ROOT} only requires the DEPEND atoms to be installed in /.
21 c) depclean should theoretically be able to remove anything in DEPEND that's
22 not in RDEPEND or PDEPEND.
23
24 Regards,
25 Jason Stubbs
26 -----BEGIN PGP SIGNATURE-----
27 Version: GnuPG v1.2.4 (GNU/Linux)
28
29 iQCVAwUBQKL22FoikN4/5jfsAQIibQP+MNGgFg6J2g2GZkJkDmWzqre5gScosHcu
30 a2WZ1+DONwPUUlwr57hwBL21lnULKQSeUBSZoPkfj9+6ZQCxyVeVfr41J0LMXdkD
31 IjBLtjmyblK9SV5QE5LBuGwQuL+36pBR63lBrGo3ZA0H0HW9InyvuBQeXJfnNyAU
32 EYco6QTd7kA=
33 =idw8
34 -----END PGP SIGNATURE-----
35
36 --
37 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] why DEPEND and RDEPEND Andrew Gaffney <agaffney@×××××××××××.com>