1 |
On Sun, 22 Aug 2010 12:03:10 +0100 |
2 |
David Leverton <levertond@××××××××××.com> wrote: |
3 |
|
4 |
> 2010/8/22 Michał Górny <gentoo@××××××××××.pl>: |
5 |
> > src_compile() { |
6 |
> > scons \ |
7 |
> > $(scons-use unicode) \ |
8 |
> > $(scons-use gnutls ssl gnutls openssl) \ |
9 |
> > ${MAKEOPTS} || die |
10 |
> > # expands into: |
11 |
> > # scons unicode={1|0} ssl={gnutls|openssl} -jN || die |
12 |
> > } |
13 |
> |
14 |
> It might be slightly nicer to have an escons function that adds the |
15 |
> modified MAKEOPTS to the command line and calls die by itself. |
16 |
> Besides making it easier to use, that would provide a single place to |
17 |
> add additional functionality (perhaps an EXTRA_ESCONS user variable |
18 |
> analogous to EXTRA_ECONF, for example). |
19 |
|
20 |
I may add an escons() function but I think the MAKEOPTS mangling still |
21 |
matches pkg_setup() better. And I don't like the idea of keeping a |
22 |
MAKEOPTS_ALREADY_MANGLED kind of variable to avoid re-mangling on next |
23 |
call to escons(). |
24 |
|
25 |
-- |
26 |
Best regards, |
27 |
Michał Górny |
28 |
|
29 |
<http://mgorny.alt.pl> |
30 |
<xmpp:mgorny@××××××.ru> |