commit:     9334ecb37c878660f72cba3d09e860ce542b8ae0
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 23 14:07:39 2022 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Jan 23 14:07:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9334ecb3

sci-mathematics/yafu: Add openmp dependency

Closes: https://bugs.gentoo.org/831890
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 sci-mathematics/yafu/yafu-1.34.3-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/yafu/yafu-1.34.3-r1.ebuild 
b/sci-mathematics/yafu/yafu-1.34.3-r1.ebuild
index 24b5c5e29c94..dd3a36e87d85 100644
--- a/sci-mathematics/yafu/yafu-1.34.3-r1.ebuild
+++ b/sci-mathematics/yafu/yafu-1.34.3-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
@@ -15,6 +15,10 @@ LICENSE="public-domain"
 KEYWORDS="~amd64 ~x86"
 
 DEPEND="
+       || (
+               >=sys-devel/gcc-4.2:*[openmp]
+               sys-devel/clang-runtime:*[openmp]
+       )
        dev-libs/gmp:0=
        sci-mathematics/gmp-ecm"
 RDEPEND="${DEPEND}"

Reply via email to