diff options
-rw-r--r-- | eclass/llvm.org.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass index d0b172e4fed4..83f8127a4bd7 100644 --- a/eclass/llvm.org.eclass +++ b/eclass/llvm.org.eclass @@ -202,6 +202,12 @@ llvm.org_src_unpack() { fi if [[ -n ${LLVM_PATCHSET} ]]; then + local nocomp=$(grep -r -L "^Gentoo-Component:" \ + "${WORKDIR}/llvm-gentoo-patchset-${LLVM_PATCHSET}") + if [[ -n ${nocomp} ]]; then + die "Patches lacking Gentoo-Component found: ${nocomp}" + fi + # strip patches that don't match current components local IFS='|' grep -E -r -L "^Gentoo-Component:.*(${components[*]})" \ |