commit:     ae45219bbe545f45015a5bb302ae26b40eb4c917
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 21:30:07 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 14 21:30:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae45219b

dev-util/mdds: [QA] tc-has-openmp → tc-check-openmp

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-util/mdds/mdds-1.7.0.ebuild | 8 ++------
 dev-util/mdds/mdds-2.0.2.ebuild | 6 +-----
 dev-util/mdds/mdds-9999.ebuild  | 6 +-----
 3 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/dev-util/mdds/mdds-1.7.0.ebuild b/dev-util/mdds/mdds-1.7.0.ebuild
index a94927502245..aefcb358f629 100644
--- a/dev-util/mdds/mdds-1.7.0.ebuild
+++ b/dev-util/mdds/mdds-1.7.0.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
@@ -52,13 +52,9 @@ src_prepare() {
 src_configure() {
        local myeconfargs=(
                $(use_enable doc docs)
+               $(use_enable openmp)
                $(use_enable valgrind memory_tests)
        )
-       if use openmp && tc-has-openmp; then
-               myeconfargs+=( --enable-openmp )
-       else
-               myeconfargs+=( --disable-openmp )
-       fi
        econf "${myeconfargs[@]}"
 }
 

diff --git a/dev-util/mdds/mdds-2.0.2.ebuild b/dev-util/mdds/mdds-2.0.2.ebuild
index ed3476333789..9185efd612ad 100644
--- a/dev-util/mdds/mdds-2.0.2.ebuild
+++ b/dev-util/mdds/mdds-2.0.2.ebuild
@@ -48,13 +48,9 @@ src_prepare() {
 src_configure() {
        local myeconfargs=(
                $(use_enable doc docs)
+               $(use_enable openmp)
                $(use_enable valgrind memory_tests)
        )
-       if use openmp && tc-has-openmp; then
-               myeconfargs+=( --enable-openmp )
-       else
-               myeconfargs+=( --disable-openmp )
-       fi
        econf "${myeconfargs[@]}"
 }
 

diff --git a/dev-util/mdds/mdds-9999.ebuild b/dev-util/mdds/mdds-9999.ebuild
index ed3476333789..9185efd612ad 100644
--- a/dev-util/mdds/mdds-9999.ebuild
+++ b/dev-util/mdds/mdds-9999.ebuild
@@ -48,13 +48,9 @@ src_prepare() {
 src_configure() {
        local myeconfargs=(
                $(use_enable doc docs)
+               $(use_enable openmp)
                $(use_enable valgrind memory_tests)
        )
-       if use openmp && tc-has-openmp; then
-               myeconfargs+=( --enable-openmp )
-       else
-               myeconfargs+=( --disable-openmp )
-       fi
        econf "${myeconfargs[@]}"
 }
 

Reply via email to