From b7c3656f8c356b20675abf90df37b24ab8b8eeb5 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Wed, 10 Aug 2022 08:57:23 -0400 Subject: man/emerge.1: add clarification to -k and -K Both -k and -K imply --with-bdeps=n. While this is already noted under the documentation for --with-bdeps, a brief reminder under the documentation for -k and -K is useful. A user interested in binary packages might look under -k and -K first and miss the default behavior with respect to build time dependencies. Bug: https://bugs.gentoo.org/863422 Closes: https://github.com/gentoo/portage/pull/886 Signed-off-by: Anthony G. Basile Signed-off-by: Zac Medico --- man/emerge.1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/man/emerge.1 b/man/emerge.1 index 5ba88f3bc..4eaf073e2 100644 --- a/man/emerge.1 +++ b/man/emerge.1 @@ -1056,13 +1056,16 @@ Tells emerge to use binary packages (from $PKGDIR) if they are available, thus possibly avoiding some time\-consuming compiles. This option is useful for CD installs; you can export PKGDIR=/mnt/cdrom/packages and then use this option to have emerge "pull" binary packages from the CD in order to satisfy -dependencies. +dependencies. Note this option implies \fB\-\-with\-bdeps=n\fR. To include +build time dependencies, \fB\-\-with\-bdeps=y\fR must be specified explicitly. .TP .BR "\-\-usepkgonly [ y | n ]" ", " \-K Tells emerge to only use binary packages (from $PKGDIR). All the binary packages must be available at the time of dependency calculation or emerge will simply abort. Portage does not use ebuild repositories when calculating -dependency information so all masking information is ignored. +dependency information so all masking information is ignored. Like \fB\-k\fR +above, this option implies \fB\-\-with\-bdeps=n\fR. To include build time +dependencies, \fB\-\-with\-bdeps=y\fR must be specified explicitly. .TP .BR "\-\-usepkg\-exclude\-live [ y | n ]" Tells emerge to not install from binary packages for live ebuilds. -- cgit v1.2.3-65-gdbad