Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/iproute2: ChangeLog iproute2-2.6.24.20080108.ebuild
Date: Sun, 30 Mar 2008 21:57:55
Message-Id: 47F00CD9.1000608@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/iproute2: ChangeLog iproute2-2.6.24.20080108.ebuild by Ciaran McCreesh
1 Ciaran McCreesh kirjoitti:
2 > On Sun, 30 Mar 2008 17:18:44 -0400
3 > Mark Loeser <halcy0n@g.o> wrote:
4 >> If it is something we want to move forward with, it should be
5 >> introduced at the package manager level instead of being an in-tree
6 >> package manager specific feature.
7 >
8 > cat /etc/paludis/hooks/ebuild_unpack_post/patches.bash
9 > (
10 > einfo "Looking for user patches"
11 > cd "${S}"
12 > patchdir="/etc/paludis/autopatch/${CATEGORY}/${PN}"
13 > if [[ -d $patchdir ]] ; then
14 > einfo "Applying user patches"
15 > for p in $patchdir/*.patch ; do
16 > einfo "Applying $(basename ${p} )"
17 > patch -p1 < ${p} || exit 1
18 > done
19 > einfo "Done"
20 > fi
21 > )
22 >
23 > Not that I'd really encourage its use...
24 >
25
26 A similar hook can be rewritten (and I think solar already has) using
27 Portage bashrc support so we already have the custom patching support.
28
29 Regards,
30 Petteri

Attachments

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