Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Frank Peters <frank.peters@...>
Subject: Change Install Prefix
Date: Thu, 30 Apr 2009 15:07:41 -0400
Is there a way, aside from writing a custom ebuild script, of changing
the install prefix for a package?  What I want to do is install some
packages under /usr/local or /opt rather than the default of /usr.
Unless I am mistaken, there does not seem to be a way of doing this
with either portage variables or with portage profiles.

Using the ROOT variable is not feasible because the resulting
emerge will create an independent tree of packages.  I just want
to shift some packages out of /usr without losing any dependency
or linking information.

Linux is a flexible system in that it will allow libraries, include
files, and configure information to be stored in a variety of places
without losing any interaction.  Modification of PATH, PKG_CONFIG_PATH,
CPPFLAGS, LDFLAGS, and other variables as well as the /etc/ld.so.conf
file will keep a system integrated no matter where things are stored.
Yet, unless I am missing something, Gentoo does not seem to embody this
same flexibility, at least not in a simple manner.  All packages have
to go under /usr only.

Is this actually the case or is there a way to change the installation
prefix?

Frank Peters


Replies:
Re: Change Install Prefix
-- YoYo siska
Re: Change Install Prefix
-- Justin
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
dvdrw drive not visible
Next by thread:
Re: Change Install Prefix
Previous by date:
Re: Read/write Access on ext4 disk
Next by date:
Re: Change Install Prefix


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.