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...

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

Reply via email to