Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: "Gregory M. Turner" <gmt@...>
Subject: eprefixify_patch
Date: Tue, 03 Apr 2012 08:37:57 -0000 (GMT)
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.

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 :)

-gmt
Attachment:
prefix-gmt.eclass (Binary data)
Replies:
Re: eprefixify_patch
-- Fabian Groffen
Re: eprefixify_patch
-- Gregory M. Turner
Re: eprefixify_patch
-- Gregory M. Turner
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
[PREFIX] Prefix rsync now includes full gentoo-x86 repo
Next by thread:
Re: eprefixify_patch
Previous by date:
Re: [PREFIX] Prefix rsync now includes full gentoo-x86 repo
Next by date:
Re: eprefixify_patch


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.