On Thursday 14 July 2005 20:58, Ned Ludd wrote: > echo "being that no portage dev in his/her right mind would ever" > echo "allow interactive code in an ebuild we use bashrc tricks"
Actually, I promote interactive code in pkg_config(). There's no standard as to what it will do, so there's no real solution other than telling the user and then waiting for confirmation. As for the other phases, they should of course be 100% non-interactive. However, a pkg_presetup() or some such couldn't go astray - as long as it was purely optional. It would be much better to wait until portage supports arbitrary per-package env for it to be of any real use though. Regards, Jason Stubbs
pgpyvIMopU91X.pgp
Description: PGP signature