Gentoo Archives: gentoo-dev

From: "Piotr Jaroszyński" <peper@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-extrecmenu: ChangeLog vdr-extrecmenu-1.0.ebuild
Date: Tue, 09 Oct 2007 05:42:46
Message-Id: 200710090730.22950.peper@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-extrecmenu: ChangeLog vdr-extrecmenu-1.0.ebuild by Matthias Schwarzott
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