On Friday 30 January 2004 21:38, Jan Schubert wrote:
>
> So, where should i put runtime deps when installing from source? If i
> understood you right, neither RDEPEND nor DEPEND is the right place?

They should be in RDEPEND. There are basically three cases:
- Some package is only needed at compile time (e.g. autoconf), this needs to
  be in DEPEND only
- Some package is only usefull at runtime (e.g. java for any binary java
  package (this is most often done wrong ;-( ). This needs to be in RDEPEND
  only
- Some package is needed at compile time and at runtime (e.g. openssl). This
  Needs to be in both variables.

Basically when installing binary packages only runtime dependencies are taken 
into account. If they are wrong that will obviously fail. When creating 
packages without installing them only those packages in DEPEND need to be 
merged. Further when cleaning all compile-time only dependencies can be 
removed.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net

Attachment: pgp00000.pgp
Description: signature

Reply via email to