List Archive: gentoo-dev
Santiago M. Mola wrote:
> On Wed, Sep 17, 2008 at 9:59 AM, "C. Bergström"
> <cbergstrom@...> wrote:
>
>> Ulrich Mueller wrote:
>>
>>>>>>>> On Wed, 17 Sep 2008, C. Bergström wrote:
>>>>>>>>
>>>>>>>>
>>>
>>>> Here's another idea and I don't know why I didn't think of it
>>>> sooner.. Instead of any system change to the patch ebuild.. Inside
>>>> the eutils.eclass do a quick check for gpatch and if it exists use
>>>> that vs patch.
>>>>
>>>>
>>> Why not simply alias patch=gpatch in profile.bashrc?
>>> See the FreeBSD profile for an example.
>>>
>>>
>> I'd like to package portage for OpenSolaris and have it just drop-in work so
>> modifications like what you suggest wouldn't be required.
>>
>
> You'd still need to create an OpenSolaris profile. While you're at it,
> you can create a profile.bashrc with the required modifications.
>
> I don't see any reason to not do the gpatch change, but it looks like
> unecessary to me because you already have simpler ways to solve the
> problem. So, requiring others to do a significant useless amount of
> work when you can solve it with just a line is not fair.
>
If I don't have to introduce a new bash dependency I'd like to avoid it.
I'll do the work. The patch is a couple lines and I don't think it would
be significant or impact maintenance of the eclass.
|
|