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