Gentoo Archives: gentoo-dev

From: Paul de Vrieze <paul@××××××××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Prefixed Emerge's
Date: Tue, 16 Apr 2002 14:30:33
Message-Id: 200204162130.29160.paul@devrieze.net
In Reply to: [gentoo-dev] Prefixed Emerge's by Adam Voigt
1 On Tuesday 16 April 2002 21:06, Adam Voigt wrote:
2 > I was just curious if adding the feature of custom prefixes on
3 > emerge's (the equivalent of --prefix on a configure) would be
4 > terribly hard to do, I ask because I would like to help and don't
5 > want to bother those of you working on serious issues with this
6 > feature request. As I understand it, all it would really entail is
7 > checking if the enviorment variable PREFIX is set and if it is
8 > switch PREFIX for /usr or whatever the path is in each ebuild. So
9 > for instance, if you were installing mysql if PREFIX = "/usr/mysql"
10 > then everything would be set under that directory, so there would
11 > be /usr/mysql/var for the actual db, etc. Is this correct? And if
12 > it is, does this mean any package which supports custom prefix must
13 > have it's ebuild, hand edited? If this is correct I wouldn't mind
14 > going through and at least starting on some of more popular
15 > packages to add custom pathing's. If I am totally off base on this,
16 > I aplogize, this was just what popped into my head as a possible
17 > solution to the problem.
18 >
19
20 Don't forget a lot of software breaks if it is moved to unknown
21 directories, so whatever you do, make it an option that an ebuild
22 could turn on.
23
24 Paul
25
26 --
27 Paul de Vrieze
28 Junior Researcher
29 Mail: pauldv@××××××.nl
30 Homepage: http://www.devrieze.net

Replies

Subject Author
Re: Re: [gentoo-dev] Prefixed Emerge's Adam Voigt <adam.voigt@××××××××××.com>