Gentoo Archives: gentoo-dev

From: Matthias Schwarzott <zzam@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: Mon, 08 Oct 2007 09:36:16
Message-Id: 200710081122.42589.zzam@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-extrecmenu: ChangeLog vdr-extrecmenu-1.0.ebuild by Donnie Berkholz
1 On Montag, 8. Oktober 2007, Donnie Berkholz wrote:
2 > On 20:23 Sun 07 Oct , Joerg Bornkessel (hd_brummy) wrote:
3 > > 1.1
4 > > media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.0.ebuild
5 > >
6 > > file :
7 > > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extrecm
8 > >enu/vdr-extrecmenu-1.0.ebuild?rev=1.1&view=markup plain:
9 > > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extrecm
10 > >enu/vdr-extrecmenu-1.0.ebuild?rev=1.1&content-type=text/plain
11 > >
12 > > src_unpack() {
13 > > vdr-plugin_src_unpack
14 > >
15 > > if grep -q fskProtection /usr/include/vdr/timers.h; then
16 > > sed -i "s:#WITHPINPLUGIN:WITHPINPLUGIN:" Makefile
17 >
18 > This doesn't respect ROOT != / and it's also dependent on the build
19 > system.
20 >
21 I guess ROOT-safeness here is irrelevant, as for vdr / vdr-plugin.eclass there
22 is yet no good solution to use the headers from ${ROOT}/usr/include/vdr for
23 compiling.
24
25
26 How can this be converted to respect ROOT ?
27
28 Most times the sources just do
29 #include <vdr/timers.h>
30
31 And this normally will find headers located under /usr/include.
32
33 Matthias
34
35 --
36 Matthias Schwarzott (zzam)
37 --
38 gentoo-dev@g.o mailing list

Replies