1 |
dju` kirjoitti: |
2 |
> Hello, |
3 |
> |
4 |
> I'd like to add the following function to eutils.eclass : |
5 |
> |
6 |
> # Generate a standard error message for missing USE flags |
7 |
> # in existing packages, and die. |
8 |
> # |
9 |
> # Usage: built_with_use_die <category/package> <functionality> [<USE flag>] |
10 |
> # ex: built_with_use_die dev-util/subversion python |
11 |
> # or: built_with_use_die net-www/apache LDAP ldap |
12 |
> # |
13 |
> # Typical usage: |
14 |
> # if ! built_with_use dev-util/subversion python ; then |
15 |
> # built_with_use_die dev-util/subversion python |
16 |
> # fi |
17 |
> # |
18 |
|
19 |
I think we should just call built_with_use inside built_with_use_die so |
20 |
it becomes just built_with_use_die dev-util/subversion python. |
21 |
|
22 |
Regards, |
23 |
Petteri |