Ciaran McCreesh kirjoitti:
On Sun, 30 Mar 2008 17:18:44 -0400 Mark Loeser <[EMAIL PROTECTED]> wrote:If it is something we want to move forward with, it should be introduced at the package manager level instead of being an in-tree package manager specific feature.cat /etc/paludis/hooks/ebuild_unpack_post/patches.bash ( einfo "Looking for user patches" cd "${S}" patchdir="/etc/paludis/autopatch/${CATEGORY}/${PN}" if [[ -d $patchdir ]] ; then einfo "Applying user patches" for p in $patchdir/*.patch ; do einfo "Applying $(basename ${p} )" patch -p1 < ${p} || exit 1 done einfo "Done" fi ) Not that I'd really encourage its use...
A similar hook can be rewritten (and I think solar already has) using Portage bashrc support so we already have the custom patching support.
Regards, Petteri
signature.asc
Description: OpenPGP digital signature