Gentoo Archives: gentoo-dev

From: Sergey Kuleshov <svyatogor@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Difference between PDEPEND and RDEPEND?
Date: Sat, 03 Jul 2004 17:19:47
Message-Id: 40E6EABC.4030901@gentoo.org
In Reply to: Re: [gentoo-dev] Difference between PDEPEND and RDEPEND? by Alexander Holler
1 Hi Alexander,
2 Did some searching through emerge sources and checked that by small
3 test. PDEPEND will _not_ reemerge a package if it's already installed.
4 All it does is that it says: "should we wish to emerge this package, we
5 have to do aftewards". While RDEPEND obviously sais same this but " ...
6 beforehand". So there is difference.
7
8 If you want to force use to reemrge some package afterwards, you might
9 do some checks for package existence and ask user to reemrge it, but I
10 don't this process can be automated in any way.
11
12 Alexander Holler wrote:
13 >>> What happens with ebuilds in PDEPEND which are already installed?
14 >>
15 >> Hm, would be interested to know too...
16 >
17 >
18 > Thats the point. If installing (if it wasn't installed) or reinstalling
19 > if it was installed afterwards is not a must, then there is no real
20 > difference between RDEPEND and PDEPEND. Nothing guarantees that a
21 > package is really (re-) installed afterwards.
22 >
23 > Regards,
24 >
25 > Alexander
26 >
27 >
28 > --
29 > gentoo-dev@g.o mailing list
30 >
31
32 Wkr,
33 --
34 Sergey Kuleshov <svyatogor@g.o>
35 Home Page: http://dev.gentoo.org/~sergey
36 Jabber: rohan@××××××.ru
37 ICQ: 158439855
38
39 --
40 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Difference between PDEPEND and RDEPEND? Seemant Kulleen <seemant@g.o>