> On Tue, 03 Nov 2020, Ulrich Mueller wrote:
> Presumably it would also be cleaner to test if POLICY_PATCH is an array,
> and use '"${POLICY_PATCH[@]}"' if it is but '${POLICY_PATCH}' if it is
> not.
In fact you could use the same code as in default src_prepare:
> On Mon, 02 Nov 2020, David Michael wrote:
> for POLPATCH in ${POLICY_PATCH[@]};
> do
> - if [[ ${EAPI:-0} == 5 ]]; then
> - epatch "${POLPATCH}"
> - else
> - eapply
Signed-off-by: David Michael
---
Grepping through the ebuilds using this eclass shows that they're all on
EAPI 6. A bunch of workarounds could be dropped along with EAPI 5, but
it isn't necessary to fix anything, so feel free to ignore this patch.
eclass/selinux-policy-2.eclass | 38