diff options
-rw-r--r-- | dev-libs/nss/nss-3.63.1-r1.ebuild | 11 | ||||
-rw-r--r-- | dev-libs/nss/nss-3.68.ebuild | 11 | ||||
-rw-r--r-- | dev-libs/nss/nss-3.69.1.ebuild | 11 | ||||
-rw-r--r-- | dev-libs/nss/nss-3.69.ebuild | 11 |
4 files changed, 40 insertions, 4 deletions
diff --git a/dev-libs/nss/nss-3.63.1-r1.ebuild b/dev-libs/nss/nss-3.63.1-r1.ebuild index ab23dc3b5588..35a01a196be9 100644 --- a/dev-libs/nss/nss-3.63.1-r1.ebuild +++ b/dev-libs/nss/nss-3.63.1-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/$ LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" -IUSE="cacert utils" +IUSE="cacert utils cpu_flags_ppc_altivec cpu_flags_ppc_vsx" # pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND RDEPEND=" >=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}] @@ -168,6 +168,15 @@ multilib_src_compile() { export CC_IS_CLANG=1 fi + # explicitly disable altivec/vsx if not requested + # https://bugs.gentoo.org/789114 + case ${ARCH} in + ppc*) + use cpu_flags_ppc_altivec || export NSS_DISABLE_ALTIVEC=1 + use cpu_flags_ppc_vsx || export NSS_DISABLE_CRYPTO_VSX=1 + ;; + esac + local d # Build the host tools first. diff --git a/dev-libs/nss/nss-3.68.ebuild b/dev-libs/nss/nss-3.68.ebuild index 6f5630e89284..a4a9893d7784 100644 --- a/dev-libs/nss/nss-3.68.ebuild +++ b/dev-libs/nss/nss-3.68.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/$ LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" -IUSE="cacert utils" +IUSE="cacert utils cpu_flags_ppc_altivec cpu_flags_ppc_vsx" # pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND RDEPEND=" >=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}] @@ -168,6 +168,15 @@ multilib_src_compile() { export CC_IS_CLANG=1 fi + # explicitly disable altivec/vsx if not requested + # https://bugs.gentoo.org/789114 + case ${ARCH} in + ppc*) + use cpu_flags_ppc_altivec || export NSS_DISABLE_ALTIVEC=1 + use cpu_flags_ppc_vsx || export NSS_DISABLE_CRYPTO_VSX=1 + ;; + esac + local d # Build the host tools first. diff --git a/dev-libs/nss/nss-3.69.1.ebuild b/dev-libs/nss/nss-3.69.1.ebuild index 2b0b9c2e6285..973f651b763d 100644 --- a/dev-libs/nss/nss-3.69.1.ebuild +++ b/dev-libs/nss/nss-3.69.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/$ LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" -IUSE="cacert utils" +IUSE="cacert utils cpu_flags_ppc_altivec cpu_flags_ppc_vsx" # pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND RDEPEND=" >=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}] @@ -168,6 +168,15 @@ multilib_src_compile() { export CC_IS_CLANG=1 fi + # explicitly disable altivec/vsx if not requested + # https://bugs.gentoo.org/789114 + case ${ARCH} in + ppc*) + use cpu_flags_ppc_altivec || export NSS_DISABLE_ALTIVEC=1 + use cpu_flags_ppc_vsx || export NSS_DISABLE_CRYPTO_VSX=1 + ;; + esac + local d # Build the host tools first. diff --git a/dev-libs/nss/nss-3.69.ebuild b/dev-libs/nss/nss-3.69.ebuild index 2b0b9c2e6285..973f651b763d 100644 --- a/dev-libs/nss/nss-3.69.ebuild +++ b/dev-libs/nss/nss-3.69.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/$ LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" -IUSE="cacert utils" +IUSE="cacert utils cpu_flags_ppc_altivec cpu_flags_ppc_vsx" # pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND RDEPEND=" >=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}] @@ -168,6 +168,15 @@ multilib_src_compile() { export CC_IS_CLANG=1 fi + # explicitly disable altivec/vsx if not requested + # https://bugs.gentoo.org/789114 + case ${ARCH} in + ppc*) + use cpu_flags_ppc_altivec || export NSS_DISABLE_ALTIVEC=1 + use cpu_flags_ppc_vsx || export NSS_DISABLE_CRYPTO_VSX=1 + ;; + esac + local d # Build the host tools first. |