summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/mongodb')
-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"