On Sat, Oct 17, 2015 at 2:19 PM, Jason A. Donenfeld <[email protected]>
wrote:
>
>
> The other question is more critical -- could you merge eapply and
> eapply_user? Or add some hook to PMS so that eapply_user isn't needed? IOW,
> it'd be nice if every package was, by default, patchable by the user.
>
Looks like I answered my own question!
>From the spec:
For EAPIs listed in table 9.3 as using format 6, the default implementation
> used when the ebuild lacks the src_prepare function shall behave as:
> src_prepare() {
> if declare -p PATCHES | grep -q "^declare -a "; then
> [[ -n ${PATCHES[@]} ]] && eapply "${PATCHES[@]}"
> else
> [[ -n ${PATCHES} ]] && eapply ${PATCHES}
> fi
> eapply_user
> }
Awesome!!
This is a great change.