public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-extrecmenu: ChangeLog vdr-extrecmenu-1.0.ebuild
       [not found] <E1Iecf2-0002U0-Ua@stork.gentoo.org>
@ 2007-10-08  4:38 ` Donnie Berkholz
  2007-10-08  9:22   ` Matthias Schwarzott
  0 siblings, 1 reply; 3+ messages in thread
From: Donnie Berkholz @ 2007-10-08  4:38 UTC (permalink / raw
  To: gentoo-dev, hd_brummy

On 20:23 Sun 07 Oct     , Joerg Bornkessel (hd_brummy) wrote:
> 1.1                  media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.0.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.0.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.0.ebuild?rev=1.1&content-type=text/plain

> src_unpack() {
> 	vdr-plugin_src_unpack
> 
> 	if grep -q fskProtection /usr/include/vdr/timers.h; then
> 		sed -i "s:#WITHPINPLUGIN:WITHPINPLUGIN:" Makefile

This doesn't respect ROOT != / and it's also dependent on the build 
system.

Thanks,
Donnie
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-extrecmenu: ChangeLog vdr-extrecmenu-1.0.ebuild
  2007-10-08  4:38 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-extrecmenu: ChangeLog vdr-extrecmenu-1.0.ebuild Donnie Berkholz
@ 2007-10-08  9:22   ` Matthias Schwarzott
  2007-10-09  5:30     ` Piotr Jaroszyński
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Schwarzott @ 2007-10-08  9:22 UTC (permalink / raw
  To: gentoo-dev

On Montag, 8. Oktober 2007, Donnie Berkholz wrote:
> On 20:23 Sun 07 Oct     , Joerg Bornkessel (hd_brummy) wrote:
> > 1.1                 
> > media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.0.ebuild
> >
> > file :
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extrecm
> >enu/vdr-extrecmenu-1.0.ebuild?rev=1.1&view=markup plain:
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extrecm
> >enu/vdr-extrecmenu-1.0.ebuild?rev=1.1&content-type=text/plain
> >
> > src_unpack() {
> > 	vdr-plugin_src_unpack
> >
> > 	if grep -q fskProtection /usr/include/vdr/timers.h; then
> > 		sed -i "s:#WITHPINPLUGIN:WITHPINPLUGIN:" Makefile
>
> 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 ?

Most times the sources just do
#include <vdr/timers.h>

And this normally will find headers located under /usr/include.

Matthias

-- 
Matthias Schwarzott (zzam)
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-extrecmenu: ChangeLog vdr-extrecmenu-1.0.ebuild
  2007-10-08  9:22   ` Matthias Schwarzott
@ 2007-10-09  5:30     ` Piotr Jaroszyński
  0 siblings, 0 replies; 3+ messages in thread
From: Piotr Jaroszyński @ 2007-10-09  5:30 UTC (permalink / raw
  To: gentoo-dev

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
--
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-09  5:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1Iecf2-0002U0-Ua@stork.gentoo.org>
2007-10-08  4:38 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-extrecmenu: ChangeLog vdr-extrecmenu-1.0.ebuild Donnie Berkholz
2007-10-08  9:22   ` Matthias Schwarzott
2007-10-09  5:30     ` Piotr Jaroszyński

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox