summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-02-10 11:44:32 +0000
committerSam James <sam@gentoo.org>2022-02-10 11:44:32 +0000
commit81f3178c560b125ba28e9f43a56f9bfe3bec2667 (patch)
treed54e272d86428810c60d5cd098c19279e8a3e555 /dev-db
parentdev-python/flit_core: Stabilize 3.6.0-r2 sparc, #833064 (diff)
downloadgentoo-81f3178c560b125ba28e9f43a56f9bfe3bec2667.tar.gz
gentoo-81f3178c560b125ba28e9f43a56f9bfe3bec2667.tar.bz2
gentoo-81f3178c560b125ba28e9f43a56f9bfe3bec2667.zip
dev-db/mongodb: forward-port arm64 pkg_setup fix
Lost in 5.0.5 bump (think PR was made before I'd made the fix to earlier version). Bug: https://bugs.gentoo.org/832761 Closes: https://bugs.gentoo.org/833076 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mongodb/mongodb-5.0.5.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-db/mongodb/mongodb-5.0.5.ebuild b/dev-db/mongodb/mongodb-5.0.5.ebuild
index f6dae451de27..a91bd48ba168 100644
--- a/dev-db/mongodb/mongodb-5.0.5.ebuild
+++ b/dev-db/mongodb/mongodb-5.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -78,7 +78,7 @@ python_check_deps() {
pkg_pretend() {
# Bug 809692
- if ! use cpu_flags_x86_avx; then
+ if use amd64 && ! use cpu_flags_x86_avx; then
eerror "MongoDB 5.0 requires use of the AVX instruction set"
eerror "https://docs.mongodb.com/v5.0/administration/production-notes/"
die "MongoDB requires AVX"