From 594ab91c7589af2cfec737c86c265f73f2caaecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 26 Oct 2020 13:33:05 +0100 Subject: [PATCH] llvm.org.eclass: Always unpack all distfiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unpack all distfiles from SRC_URI, not only the primary LLVM tarball. This will be helpful in implementing manpage support. Signed-off-by: Michał Górny --- eclass/llvm.org.eclass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass index 42fa04734d25f..ec2c73c727639 100644 --- a/eclass/llvm.org.eclass +++ b/eclass/llvm.org.eclass @@ -150,6 +150,7 @@ llvm.org_src_unpack() { if [[ ${_LLVM_SOURCE_TYPE} == git ]]; then git-r3_fetch git-r3_checkout '' . '' "${components[@]}" + default_src_unpack else local archive=llvmorg-${PV/_/-}.tar.gz ebegin "Unpacking from ${archive}" @@ -157,6 +158,12 @@ llvm.org_src_unpack() { -f "${DISTDIR}/${archive}" \ "${components[@]/#/llvm-project-${archive%.tar*}/}" || die eend ${?} + + # unpack all remaining distfiles + local x + for x in ${A}; do + [[ ${x} != ${archive} ]] && unpack "${x}" + done fi }