Alin Nastac wrote: > Lets say a package foo depends on bar, both at compile time and run time. > Shouldn't DEPEND _and_ RDEPEND of the foo package reflect that > dependency? I usually set DEPEND="$RDEPEND ..." or vice-versa (depending > on which is the most demanding). Am I utterly wrong here? > I know that when a package is installed the usual way (not from a binary > tarball) dependencies==RDEPEND+DEPEND, but portage functionality could > change in the future. It may not be the wisest decision ever made, but > portage could very well remove whatever dependencies are found in DEPEND > - RDEPEND, once the package is installed.
It needs to be in both. For example if you only set it in DEPEND, merging to ROOT!=/ would break as the dep would get installed in / and not ROOT, so the app would fail to run. -Antarus -- gentoo-dev@gentoo.org mailing list