On Mon, 23 Apr 2007 23:45:48 +0200 dju` <[EMAIL PROTECTED]> wrote: > eerror "Your ${package} package has been built without" > eerror "${func} support, please enable the '${use_flag}' USE flag and" > eerror "re-emerge ${package}." > elog "You can enable this USE flag either globally in /etc/make.conf," > elog "or just for specific packages in /etc/portage/package.use." > die "${package} missing ${func} support"
A little detail about elog: You should not use different elog functions (eerror, elog, ewarn, ...) within the same message as they may appear out of order in the final log (e.g. the elog lines might appear before the eerror lines). This is because messages of the same loglevel and in the same phase are grouped together. It's an implementation detail that might be changed in future versions, but for now you'll have to live with it. Also I don't see much use in explaining how to enable a use flag inside ebuilds, at most there should be a pointer to the real documentation IMO. Marius -- [EMAIL PROTECTED] mailing list