1 |
On 21:14 Mon 24 Sep , Ryan Hill wrote: |
2 |
> - is the stuff in global scope kosher? i've seen other eclasses do |
3 |
> similar, but i want to be sure. the reason for the looping is because |
4 |
> i figure calling built_with_use in global would get me hung. |
5 |
|
6 |
> for wxtoolkit in gtk2 base; do |
7 |
> debug-print "global outer loop - wxtoolkit is ${wxtoolkit}" |
8 |
> for wxdebug in release debug; do |
9 |
> debug-print "global inner loop - wxdebug is ${wxdebug}" |
10 |
> wxconf="${wxtoolkit}-${wxchar}-${wxdebug}-${WX_GTK_VER}" |
11 |
> debug-print "testing for config ${wxconf}" |
12 |
> [[ -f /usr/$(get_libdir)/wx/config/${wxconf} ]] || continue |
13 |
|
14 |
Checking for existence of files in global scope? |
15 |
|
16 |
> debug-print "found config ${wxconf} - setting WX_CONFIG" |
17 |
> WX_CONFIG="/usr/$(get_libdir)/wx/config/${wxconf}" |
18 |
> # TODO: needed for the wx-config wrapper |
19 |
> #WX_ECLASS_CONFIG="${WX_CONFIG}" |
20 |
> break |
21 |
> done |
22 |
> [[ -n ${WX_CONFIG} ]] && break |
23 |
> done |
24 |
> [[ -n ${WX_CONFIG} ]] && export WX_CONFIG #WX_ECLASS_CONFIG |
25 |
|
26 |
OK, so let me try to follow the logic of preferences here: |
27 |
|
28 |
1. gtk2-release |
29 |
2. gtk2-debug |
30 |
3. base-release |
31 |
4. base-debug |
32 |
|
33 |
Does that mean they can't get a debug setup if the release one is found? |
34 |
Does a debug build only produce debug and not release? |
35 |
|
36 |
> else |
37 |
> : |
38 |
> fi |
39 |
|
40 |
What's up with the 'else' here? |
41 |
|
42 |
Thanks, |
43 |
Donnie |
44 |
-- |
45 |
gentoo-dev@g.o mailing list |