summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-15 23:39:16 +0100
committerSam James <sam@gentoo.org>2021-09-15 23:39:16 +0100
commite2d2448a60d4872646acbe9f1dd389e1f1950231 (patch)
tree7a7b8d581e1a38218081f50f6ca8f35216b605aa /sys-devel
parentapp-doc/doxygen: Patch to add missing header dependency for 1.9.1 (diff)
downloadgentoo-e2d2448a60d4872646acbe9f1dd389e1f1950231.tar.gz
gentoo-e2d2448a60d4872646acbe9f1dd389e1f1950231.tar.bz2
gentoo-e2d2448a60d4872646acbe9f1dd389e1f1950231.zip
sys-devel/binutils-hppa64: fix unpack for HPPA in 2.37_p1
Reported-by: tobiasu Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1.ebuild
index 6477736ca7c9..3b073ef9b5cf 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1.ebuild
@@ -85,13 +85,16 @@ src_unpack() {
EGIT_CHECKOUT_DIR=${S}
git-r3_src_unpack
else
- unpack ${P}.tar.xz
+ unpack ${P/-hppa64/}.tar.xz
cd "${WORKDIR}" || die
unpack binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz
# _p patch versions are Gentoo specific tarballs ...
- S=${WORKDIR}/${P%_p?}
+ local dir=${P%_p?}
+ dir=${dir/-hppa64/}
+
+ S=${WORKDIR}/${dir}
fi
cd "${WORKDIR}" || die