Gentoo Archives: gentoo-dev

From: R0b0t1 <r030t1@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: extension to prefix.eclass
Date: Wed, 29 Jun 2016 05:53:01
Message-Id: CAAD4mYhj8pX9Bv334pLTPYvmQ+2XExJtUW77erTw-SL2sRcGtw@mail.gmail.com
In Reply to: [gentoo-dev] RFC: extension to prefix.eclass by Benda Xu
1 On Tue, Jun 28, 2016 at 8:54 PM, Benda Xu <heroxbd@g.o> wrote:
2 > Hi,
3 >
4 > This is a patch to extend prefix.eclass.
5 >
6 > 1. a set of heuristics is added to eprefixify:
7 > "s,([^[:alnum:]}])/(usr|etc|bin|sbin|var|opt)/,\1${EPREFIX}/\2/,g"
8 >
9 > 2. a function wrapper "fprefixity" to do inplace substitution in ${T}.
10 >
11 > Please help review it.
12 > Benda
13 >
14
15 What is it intended to solve?
16
17 The current behavior seems to make more sense. Hiding defaults causes
18 problems. `fprefixify` is redundant.

Replies

Subject Author
Re: [gentoo-dev] RFC: extension to prefix.eclass Benda Xu <heroxbd@g.o>