summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-02 00:10:48 +0100
committerSam James <sam@gentoo.org>2022-05-02 00:11:01 +0100
commitfaf8e412f95a3becd535017e283158037d78e0a2 (patch)
treef298f2d510ed70ff7b6719ed7dc3f73eab019e21 /dev-libs/libgcrypt
parentnet-vpn/headscale: 0.15.0-r1 bump (diff)
downloadgentoo-faf8e412f95a3becd535017e283158037d78e0a2.tar.gz
gentoo-faf8e412f95a3becd535017e283158037d78e0a2.tar.bz2
gentoo-faf8e412f95a3becd535017e283158037d78e0a2.zip
dev-libs/libgcrypt: disable asm for hppa1.1
Closes: https://bugs.gentoo.org/832871 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libgcrypt')
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.10.1.ebuild5
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.8.8.ebuild6
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild6
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.9.4-r1.ebuild5
4 files changed, 18 insertions, 4 deletions
diff --git a/dev-libs/libgcrypt/libgcrypt-1.10.1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.10.1.ebuild
index fdd2b182d69d..a3eb80ef2918 100644
--- a/dev-libs/libgcrypt/libgcrypt-1.10.1.ebuild
+++ b/dev-libs/libgcrypt/libgcrypt-1.10.1.ebuild
@@ -98,14 +98,17 @@ multilib_src_configure() {
--without-capabilities
# http://trac.videolan.org/vlc/ticket/620
- # causes bus-errors on sparc64-solaris
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
+ # causes bus-errors on sparc64-solaris
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
+ # bug #832871
+ $([[ ${CHOST} == hppa1.1* ]] && echo "--disable-asm")
$(use asm || echo "--disable-asm")
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
)
+
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" \
$("${S}/configure" --help | grep -o -- '--without-.*-prefix')
}
diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.8.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.8.ebuild
index 517bba1e65af..9c62a78b5b9b 100644
--- a/dev-libs/libgcrypt/libgcrypt-1.8.8.ebuild
+++ b/dev-libs/libgcrypt/libgcrypt-1.8.8.ebuild
@@ -53,9 +53,13 @@ multilib_src_configure() {
$(use_enable static-libs static)
# http://trac.videolan.org/vlc/ticket/620
- # causes bus-errors on sparc64-solaris
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
+ # causes bus-errors on sparc64-solaris
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
+ # bug #832871
+ $([[ ${CHOST} == hppa1.1* ]] && echo "--disable-asm")
+
+ $(use asm || echo "--disable-asm")
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
)
diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild
index d286856c172a..0ab01c5a2c98 100644
--- a/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild
+++ b/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild
@@ -64,9 +64,13 @@ multilib_src_configure() {
$(use_enable static-libs static)
# http://trac.videolan.org/vlc/ticket/620
- # causes bus-errors on sparc64-solaris
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
+ # causes bus-errors on sparc64-solaris
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
+ # bug #832871
+ $([[ ${CHOST} == hppa1.1* ]] && echo "--disable-asm")
+
+ $(use asm || echo "--disable-asm")
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
)
diff --git a/dev-libs/libgcrypt/libgcrypt-1.9.4-r1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.9.4-r1.ebuild
index 6c29e69188e1..e7d9fb4c996d 100644
--- a/dev-libs/libgcrypt/libgcrypt-1.9.4-r1.ebuild
+++ b/dev-libs/libgcrypt/libgcrypt-1.9.4-r1.ebuild
@@ -99,14 +99,17 @@ multilib_src_configure() {
--without-capabilities
# http://trac.videolan.org/vlc/ticket/620
- # causes bus-errors on sparc64-solaris
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
+ # causes bus-errors on sparc64-solaris
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
+ # bug #832871
+ $([[ ${CHOST} == hppa1.1* ]] && echo "--disable-asm")
$(use asm || echo "--disable-asm")
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
)
+
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" \
$("${S}/configure" --help | grep -o -- '--without-.*-prefix')
}