diff options
Diffstat (limited to 'dev-util/mdds')
-rw-r--r-- | dev-util/mdds/mdds-1.7.0.ebuild | 8 | ||||
-rw-r--r-- | dev-util/mdds/mdds-2.0.2.ebuild | 6 | ||||
-rw-r--r-- | 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[@]}" } |