1 |
On Mon, 2004-07-12 at 01:20, Alexander Futasz wrote: |
2 |
> > * if ebuild forces -fPIC flag to CFLAGS. |
3 |
> > * if ebuild appends $RDEPEND or $DEPEND to $RDEPEND or $DEPEND to |
4 |
> > $DEPEND. |
5 |
> > * if ebuild overrides MAKEOPTS. |
6 |
> |
7 |
> Why is this bad (specifically appending $DEPEND to $RDEPEND)? |
8 |
|
9 |
-fPIC should be applied by patching the Makefile and the fix sent |
10 |
upstream. |
11 |
|
12 |
Don't override MAKEOPTS. Simply call 'emake <whatever you want>'. |
13 |
|
14 |
As for the DEPEND thing... I dunno... the description makes it seem likt |
15 |
this is invalid: |
16 |
|
17 |
DEPEND="stuff needed for runtime and compile time" |
18 |
RDEPEND="${DEPEND} stuff needed just for runtime" |
19 |
DEPEND="${DEPEND} stuff needed just for compile time" |
20 |
|
21 |
but that's the way to do it, IMO. |
22 |
|
23 |
> > * if ebuild has deprecated WANT_AUTO(CONF|MAKE)_?_?. |
24 |
> |
25 |
> What is the prefered way to do this then? |
26 |
|
27 |
WANT_AUTOMAKE=1.7 |
28 |
WANT_AUTOCONF=2.5 |
29 |
|
30 |
or whatever version you want... |
31 |
|
32 |
> |
33 |
> -- |
34 |
> gentoo-dev@g.o mailing list |
35 |
> |