Drake Wyrm wrote:
Jason Stubbs <[EMAIL PROTECTED]> wrote:

When logging is enabled, ebuild output is passed via tee. Running
anything that checks for terminal type inside of pkg_config therefore
doesn't work correctly. This patch disables logging during pkg_config
altogether.


There was a thread about this recently, and I'm almost certain that my
input was lost in the noise. A cleaner way of accomplishing that is to
write the ebuild such that portions which need a terminal either attach
to a terminal (`make menuconfig </dev/tty >/dev/tty`) or simply check
for a terminal (`tty -s || die "I need a terminal."`). I almost never
use the `ebuild ... config` feature, but just on general principle I'd
rather the logging capability remain intact.


Is this type of /dev/tty device functionality portable among all gentoo 
supported (non-Linux) operating systems?  This is a concern that comes to my 
mind.

Zac
--
gentoo-portage-dev@gentoo.org mailing list

Reply via email to