1 |
On Monday 08 of October 2007 11:22:42 Matthias Schwarzott wrote: |
2 |
> On Montag, 8. Oktober 2007, Donnie Berkholz wrote: |
3 |
> > On 20:23 Sun 07 Oct , Joerg Bornkessel (hd_brummy) wrote: |
4 |
> > This doesn't respect ROOT != / and it's also dependent on the build |
5 |
> > system. |
6 |
> |
7 |
> I guess ROOT-safeness here is irrelevant, as for vdr / vdr-plugin.eclass |
8 |
> there is yet no good solution to use the headers from |
9 |
> ${ROOT}/usr/include/vdr for compiling. |
10 |
> |
11 |
> |
12 |
> How can this be converted to respect ROOT ? |
13 |
|
14 |
$ROOT shouldn't be used in src_* |
15 |
|
16 |
> Most times the sources just do |
17 |
> #include <vdr/timers.h> |
18 |
> |
19 |
> And this normally will find headers located under /usr/include. |
20 |
|
21 |
And that's the way to go. When you build with ROOT=/foo DEPEND is installed |
22 |
into / and only {R,P}DEPEND into /foo. |
23 |
|
24 |
-- |
25 |
Best Regards, |
26 |
Piotr Jaroszyński |
27 |
-- |
28 |
gentoo-dev@g.o mailing list |