Gentoo Archives: gentoo-osx

From: Kito <kito@g.o>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] PREFIX the next generation...
Date: Tue, 20 Dec 2005 22:22:51
Message-Id: 395C4338-689F-49CB-95A0-37AC27A7CB93@gentoo.org
In Reply to: Re: [gentoo-osx] PREFIX the next generation... by Kito
1 On Dec 20, 2005, at 4:18 PM, Kito wrote:
2
3 >
4 > On Dec 20, 2005, at 2:11 PM, m h wrote:
5 >
6 >> No, that doesn't work. I've looked through the code of portage and
7 >> the portage.root value is hardcoded in some places as "/"....
8 >
9 > ROOT=/ is correct. If it was set to anything else you would get
10 > packages merged to /${ROOT}/${PREFIX}
11 >
12 > The caveat in this is we cheat in the prefix by hacking etc/portage/
13 > bashrc to automatically append $PREFIX to maintain compatibility
14 > with the countless ebuilds that do things in src_install() like `if
15 > [[ -e ${ROOT}/usr/bin ]]; then foo bar;fi;
16 >
17 > I think your errors are from a malformed make.conf. Its not picking
18 > up things like DISTDIR.
19
20 Ooops, didn't see the response from Fabian. Sounds like he tracked it
21 down....
22
23
24 >
25 > ---Kito
26 > --
27 > gentoo-osx@g.o mailing list
28 >
29
30 --
31 gentoo-osx@g.o mailing list