1 |
On Sun, Apr 17, 2016 at 10:31 AM, Ian Stakenvicius <axs@g.o> wrote: |
2 |
> |
3 |
> |
4 |
> Sent from an iPhone, sorry for the HTML... |
5 |
> |
6 |
>> On Apr 17, 2016, at 10:13 AM, Mike Gilbert <floppym@g.o> wrote: |
7 |
>> |
8 |
>> @@ -487,10 +497,17 @@ xorg-2_src_configure() { |
9 |
>> xorg-2_src_compile() { |
10 |
>> debug-print-function ${FUNCNAME} "$@" |
11 |
>> |
12 |
>> + local makeargs=( "$@" ) |
13 |
>> + |
14 |
>> if [[ ${XORG_MULTILIB} == yes ]]; then |
15 |
>> - autotools-multilib_src_compile "$@" |
16 |
>> + if ! declare -f multilib_src_compile >/dev/null; then |
17 |
>> + multilib_src_compile() { |
18 |
>> + emake "${makeargs[@]}" |
19 |
>> + } |
20 |
>> + fi |
21 |
>> + multilib-minimal_src_compile |
22 |
>> else |
23 |
>> - autotools-utils_src_compile "$@" |
24 |
>> + emake "${makeargs[@]}" |
25 |
>> fi |
26 |
>> } |
27 |
> |
28 |
> Does the src_compile code need to be as complex as this? Why not just a 'if $XORG_MULTILIB ; then multilib-minimal_src_compile "$@"; else emake "$@"; fi '? |
29 |
> |
30 |
> ...or even 'default' instead of emake...? |
31 |
|
32 |
multilib-mininmal_src_compile and default_src_comple do not provide |
33 |
any method to pass arguments to emake. If I recall correctly, there is |
34 |
at least one ebuild that needs to do so. |