Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] eprefixify_patch
Date: Tue, 03 Apr 2012 12:05:55
Message-Id: 20120403112801.GC56643@gentoo.org
In Reply to: [gentoo-alt] eprefixify_patch by "Gregory M. Turner"
1 On 03-04-2012 08:37:57 -0000, Gregory M. Turner wrote:
2 > Current prefix SOP is to epatch a bunch of files with @GENTOO_PORTAGE_EPREFIX@ and then eprefixify the affected files. Although this adds a bit of precision and flexibility, it leads to laundry lists in the ebuild, especially if/when we start getting more rigorous about prefixification. The attached eclass provides eprefixify_patch, which simply prefixifies the patch itself before applying.
3
4 Feels dirty too ;)
5
6 > It also includes some quick & dirty tools to prefixify /bin/{ba,}sh shebangs. I'm using both in my overlay. So far, so good. What I'm using it /for/ is a more interesting question that I'd like to bring up in a separate, presumably more controversial thread. Anyhow, for the moment I thought these might come in handy or at least precipitate an interesting flamewar :)
7
8 I fail to see how this is necessary. Portage already fixes those/these
9 shebangs, doesn't it?
10
11
12 Fabian
13
14 --
15 Fabian Groffen
16 Gentoo on a different level

Attachments

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

Replies

Subject Author
Re: [gentoo-alt] eprefixify_patch "Gregory M. Turner" <gmt@×××××.us>