Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure.
Date: Mon, 07 Nov 2005 20:07:16
Message-Id: 20051107194633.41be24bc@krikkit.digimed.co.uk
In Reply to: Re: [gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure. by Nagatoro
1 On Mon, 07 Nov 2005 11:24:19 +0100, Nagatoro wrote:
2
3 > > Something along the lines of
4 > >
5 > > My_P=$(P/beta/_beta}
6 > >
7 > > and use ${My_P} instead of ${P} throughout the ebuild.
8 > >
9 > >
10 >
11 > Or better look at
12 > http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/
13 >
14 > since _beta is a recogniced suffix there should be built in methods to
15 > deal with it.
16
17 _beta is a recognised suffix, beta is not. Actually, the above line
18 should be
19
20 MyP=${P/_beta/beta}
21
22
23 --
24 Neil Bothwick
25
26 Virtue is it's own punishment.

Attachments

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

Replies