public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Prefixed Emerge's
@ 2002-04-16 19:06 Adam Voigt
  2002-04-16 19:30 ` Paul de Vrieze
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Adam Voigt @ 2002-04-16 19:06 UTC (permalink / raw
  To: gentoo-dev

I was just curious if adding the feature of custom prefixes on emerge's (the equivalent of --prefix on a configure)
would be terribly hard to do, I ask because I would like to help and don't want to bother those of you working on
serious issues with this feature request. As I understand it, all it would really entail is checking if the enviorment
variable PREFIX is set and if it is switch PREFIX for /usr or whatever the path is in each ebuild. So for instance, if
you were installing mysql if PREFIX = "/usr/mysql" then everything would be set under that directory, so there would
be /usr/mysql/var for the actual db, etc. Is this correct?
And if it is, does this mean any package which supports custom prefix must have it's ebuild, hand edited? If this
is correct I wouldn't mind going through and at least starting on some of more popular packages to add custom
pathing's. If I am totally off base on this, I aplogize, this was just what popped into my head as a possible solution to
the problem.

Thanks,

Adam Voigt
adam.voigt@cryptocomm.com


^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: [gentoo-dev] Prefixed Emerge's
@ 2002-04-17 14:44 Sean Mitchell
  2002-04-17 14:47 ` Jared H. Hudson
  0 siblings, 1 reply; 12+ messages in thread
From: Sean Mitchell @ 2002-04-17 14:44 UTC (permalink / raw
  To: 'gentoo-dev@gentoo.org'

> A lot of ebuilds are written with the premise that the stuff goes into
> /usr, and have it hard coded. :(  Even if portage starts supporting
> custom prefixes, a huge ebuild cleanup effort would be required, as
> far as I understand.

What's the alternative to something like

    make prefix=${D}/usr mandir=${D}/usr/share/man install || die

then? Is there a better way?

Sean


^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: [gentoo-dev] Prefixed Emerge's
@ 2002-04-17 14:53 Sean Mitchell
  2002-04-17 15:00 ` Jared H. Hudson
  2002-04-17 18:36 ` Paul de Vrieze
  0 siblings, 2 replies; 12+ messages in thread
From: Sean Mitchell @ 2002-04-17 14:53 UTC (permalink / raw
  To: 'gentoo-dev@gentoo.org'


> From: Jared H. Hudson [mailto:jhhudso@volumehost.com]

>>>A lot of ebuilds are written with the premise that the 
>>> stuff goes into /usr, and have it hard coded. :(  Even
>>> if portage starts supporting
>>> custom prefixes, a huge ebuild cleanup effort would be required, as
>>> far as I understand.

>> What's the alternative to something like
>> 
>>     make prefix=${D}/usr mandir=${D}/usr/share/man install || die
>> 
>> then? Is there a better way?

> ./configure --prefix=${D}/usr mandir=${D}/usr/share/man || die

No, you miss my point.... what's the alternative to hardcoding /usr?

Cheers,

Sean


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

end of thread, other threads:[~2002-04-17 18:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16 19:06 [gentoo-dev] Prefixed Emerge's Adam Voigt
2002-04-16 19:30 ` Paul de Vrieze
2002-04-16 19:35 ` Adam Voigt
2002-04-16 19:38   ` Paul de Vrieze
2002-04-16 19:49   ` Adam Voigt
2002-04-16 19:55     ` Paul de Vrieze
2002-04-16 21:44 ` Arcady Genkin
  -- strict thread matches above, loose matches on Subject: below --
2002-04-17 14:44 Sean Mitchell
2002-04-17 14:47 ` Jared H. Hudson
2002-04-17 14:53 Sean Mitchell
2002-04-17 15:00 ` Jared H. Hudson
2002-04-17 18:36 ` Paul de Vrieze

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