On Monday 08 of October 2007 11:22:42 Matthias Schwarzott wrote:
> On Montag, 8. Oktober 2007, Donnie Berkholz wrote:
> > On 20:23 Sun 07 Oct , Joerg Bornkessel (hd_brummy) wrote:
> > This doesn't respect ROOT != / and it's also dependent on the build
> > system.
>
> I guess ROOT-safeness here is irrelevant, as for vdr / vdr-plugin.eclass
> there is yet no good solution to use the headers from
> ${ROOT}/usr/include/vdr for compiling.
>
>
> How can this be converted to respect ROOT ?
$ROOT shouldn't be used in src_*
> Most times the sources just do
> #include <vdr/timers.h>
>
> And this normally will find headers located under /usr/include.
And that's the way to go. When you build with ROOT=/foo DEPEND is installed
into / and only {R,P}DEPEND into /foo.
--
Best Regards,
Piotr Jaroszyński
--
[EMAIL PROTECTED] mailing list