summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-02-06 00:30:18 +0000
committerSam James <sam@gentoo.org>2022-02-06 00:30:41 +0000
commit2a9f6fcd42024201986cf92968a2fd14143e447e (patch)
tree770ae197f7bde30480d08346c44837600f44de4c
parentmedia-gfx/prusaslicer: drop old (diff)
downloadgentoo-2a9f6fcd42024201986cf92968a2fd14143e447e.tar.gz
gentoo-2a9f6fcd42024201986cf92968a2fd14143e447e.tar.bz2
gentoo-2a9f6fcd42024201986cf92968a2fd14143e447e.zip
dev-db/mongodb: fix pkg_setup for non-amd64 (e.g. arm64)
Closes: https://bugs.gentoo.org/832761 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-db/mongodb/mongodb-5.0.2-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-db/mongodb/mongodb-5.0.2-r1.ebuild b/dev-db/mongodb/mongodb-5.0.2-r1.ebuild
index 70c31271f576..f26b693c4f11 100644
--- a/dev-db/mongodb/mongodb-5.0.2-r1.ebuild
+++ b/dev-db/mongodb/mongodb-5.0.2-r1.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
@@ -79,7 +79,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"