Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New PKGDIR=$PORTDIR/packages/$CHOST
Date: Sun, 01 Aug 2004 03:00:07
Message-Id: 1091329306.1715.68.camel@6-allhosts
In Reply to: Re: [gentoo-dev] New PKGDIR=$PORTDIR/packages/$CHOST by Ned Ludd
1 On Sat, 2004-07-31 at 13:49, Ned Ludd wrote:
2 > On Sat, 2004-07-31 at 14:13, Ciaran McCreesh wrote:
3 > > On 31 Jul 2004 13:33:12 -0400 Ned Ludd <solar@g.o> wrote:
4 > > | Would anybody object to making the default PKGDIR be
5 > > | $PORTDIR/packages/$CHOST ?
6 > > |
7 > > | CCHOST would even be ideal, but this variable is never set to CHOST in
8 > > | the global scope if not cross compiling.
9 > >
10 > > PKGDIR=${PORTDIR}/packages/${CCHOST:-${CHOST}} ?
11 >
12 > Yeah that would be nice if it worked, but portage does not seem to be
13 > able to cope with that set in the make.conf
14 Portage.py parses make.conf directly (no bash), doing the variable
15 interpretting (basically s/${?var_name}?/var_contents/g).
16 It's pretty straightforward, swap the var's contents in pretty much-
17 none of the usual fun bash trickery is available :/
18 ~brian

Attachments

File name MIME type
signature.asc application/pgp-signature