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