Re: [gentoo-dev] RFC: extension to prefix.eclass

2016-06-28 Thread Benda Xu
Hi anonymous reviewer, R0b0t1 writes: > What is it intended to solve? To simplify ebuilds that need to call eprefixify. > The current behavior seems to make more sense. Hiding defaults causes > problems. I am not sure what you mean by "Hiding defaults". It is documented, not hidden. The reg

Re: [gentoo-dev] RFC: extension to prefix.eclass

2016-06-28 Thread R0b0t1
On Tue, Jun 28, 2016 at 8:54 PM, Benda Xu wrote: > Hi, > > This is a patch to extend prefix.eclass. > > 1. a set of heuristics is added to eprefixify: > "s,([^[:alnum:]}])/(usr|etc|bin|sbin|var|opt)/,\1${EPREFIX}/\2/,g" > > 2. a function wrapper "fprefixity" to do inplace substitution in

[gentoo-dev] RFC: extension to prefix.eclass

2016-06-28 Thread Benda Xu
Hi, This is a patch to extend prefix.eclass. 1. a set of heuristics is added to eprefixify: "s,([^[:alnum:]}])/(usr|etc|bin|sbin|var|opt)/,\1${EPREFIX}/\2/,g" 2. a function wrapper "fprefixity" to do inplace substitution in ${T}. Please help review it. Benda --- prefix.eclass 2015-08-