Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11040 - User definable installation paths
Summary: User definable installation paths
Status: RESOLVED DUPLICATE of bug 6474
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-21 02:34 UTC by Dirk Heinrichs
Modified: 2011-10-30 22:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Heinrichs 2002-11-21 02:34:41 UTC
Hello,

I would like to be able to define in /etc/make.conf the pathnames which should
be used by ebuilds during build and installation.

Think about building for diskless client machines, or installing onto replicated
AFS volumes to provide software packages company-wide.

In this case one would have to "./configure --prefix=/some/path" and "make
prefix=/some/other/path install", because i.e. in the AFS case the software
would run from the read-only path, but would have to be installed onto the
read-write volumes (prefixing directories in the path with a dot).

So having variables RUN_PATH and INSTALL_PATH in /etc/make.conf to override the
default path defined in the ebuilds would be a nice thing to have.

Bye...

     Dirk
Comment 1 John-David Childs 2002-12-03 16:54:09 UTC
This request is similar to bug #6474 (User Mode Emerge) and for which I suggest
the same fix:  allow portage to override FHS and define --prefix (either in the
ebuild file, make.conf, environment, or command line parameter)

Example: emerge apache --use="-mod_dav +ldap" --prefix=/usr/local/apache

Comment 2 SpanKY gentoo-dev 2003-01-08 14:04:22 UTC

*** This bug has been marked as a duplicate of 6474 ***
Comment 3 SpanKY gentoo-dev 2003-01-08 14:04:56 UTC
although 6474 isnt *exactly* the same there are other bugs which cover this