commit:     bd72dc1ebb02322e44ad919f8eeab73edafcf3be
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  8 19:58:57 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  8 19:58:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd72dc1e

sys-devel/binutils-hppa64: don't apply prefix hack patch here

'is_cross' fires because of hppa64 vs hppa2.0.

Closes: https://bugs.gentoo.org/925099
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/binutils-hppa64/binutils-hppa64-2.42-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.42-r1.ebuild 
b/sys-devel/binutils-hppa64/binutils-hppa64-2.42-r1.ebuild
index 0341625022de..9826f659b232 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.42-r1.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.42-r1.ebuild
@@ -121,7 +121,7 @@ src_prepare() {
 
                        # This is applied conditionally for now just out of 
caution.
                        # It should be okay on non-prefix systems though. See 
bug #892549.
-                       if is_cross || use prefix; then
+                       if [[ ${PN} != binutils-hppa64 ]] && { is_cross || use 
prefix; } ; then
                                eapply 
"${FILESDIR}"/binutils-2.40-linker-search-path.patch \
                                           
"${FILESDIR}"/binutils-2.41-linker-prefix.patch
                        fi

Reply via email to