diff options
author | David Seifert <soap@gentoo.org> | 2023-01-03 15:49:06 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-01-03 15:49:06 +0100 |
commit | 128c4b0b6c73f994174bf351d311ed021adbc6f7 (patch) | |
tree | b29ea0b846a53af1bc54ded701368dd2ff5f638a | |
parent | www-apps/prowlarr: drop 1.0.0.2171 (diff) | |
download | gentoo-128c4b0b6c73f994174bf351d311ed021adbc6f7.tar.gz gentoo-128c4b0b6c73f994174bf351d311ed021adbc6f7.tar.bz2 gentoo-128c4b0b6c73f994174bf351d311ed021adbc6f7.zip |
*/*: make mycmakeargs local
Closes: https://github.com/gentoo/gentoo/pull/28947
Signed-off-by: David Seifert <soap@gentoo.org>
94 files changed, 206 insertions, 242 deletions
diff --git a/app-admin/conky/conky-1.13.1.ebuild b/app-admin/conky/conky-1.13.1.ebuild index cf2c7c6dbc1d..5cc04259da16 100644 --- a/app-admin/conky/conky-1.13.1.ebuild +++ b/app-admin/conky/conky-1.13.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -103,10 +103,10 @@ src_prepare() { } src_configure() { - local mycmakeargs + local mycmakeargs=() if use X; then - mycmakeargs=( + mycmakeargs+=( -DBUILD_ARGB=yes -DBUILD_X11=yes -DBUILD_XDAMAGE=yes @@ -115,7 +115,7 @@ src_configure() { -DOWN_WINDOW=yes ) else - mycmakeargs=( + mycmakeargs+=( -DBUILD_X11=no ) fi diff --git a/app-admin/conky/conky-1.15.0.ebuild b/app-admin/conky/conky-1.15.0.ebuild index d3d700c1507a..640060b9264d 100644 --- a/app-admin/conky/conky-1.15.0.ebuild +++ b/app-admin/conky/conky-1.15.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -120,10 +120,10 @@ src_prepare() { } src_configure() { - local mycmakeargs + local mycmakeargs=() if use X; then - mycmakeargs=( + mycmakeargs+=( -DBUILD_ARGB=yes -DBUILD_X11=yes -DBUILD_XDAMAGE=yes @@ -132,7 +132,7 @@ src_configure() { -DOWN_WINDOW=yes ) else - mycmakeargs=( + mycmakeargs+=( -DBUILD_X11=no ) fi diff --git a/app-misc/cmatrix/cmatrix-2.0-r4.ebuild b/app-misc/cmatrix/cmatrix-2.0-r4.ebuild index 6d2ecbb3ffd0..fc52c436c8d1 100644 --- a/app-misc/cmatrix/cmatrix-2.0-r4.ebuild +++ b/app-misc/cmatrix/cmatrix-2.0-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -24,7 +24,7 @@ BDEPEND="" RDEPEND="${DEPEND}" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DCURSES_NEED_WIDE=$(usex unicode) ) cmake_src_configure diff --git a/app-misc/task/task-2.6.2.ebuild b/app-misc/task/task-2.6.2.ebuild index acaa34e50b1c..71c06cea727a 100644 --- a/app-misc/task/task-2.6.2.ebuild +++ b/app-misc/task/task-2.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -32,7 +32,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_SYNC=$(usex sync) -DTASK_DOCDIR=share/doc/${PF} -DTASK_RCDIR=share/${PN}/rc diff --git a/app-misc/timew/timew-1.4.2.ebuild b/app-misc/timew/timew-1.4.2.ebuild index 3887d9064d48..ec2bdffe0327 100644 --- a/app-misc/timew/timew-1.4.2.ebuild +++ b/app-misc/timew/timew-1.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DTIMEW_DOCDIR=share/doc/${PF} ) diff --git a/app-misc/timew/timew-1.4.3-r1.ebuild b/app-misc/timew/timew-1.4.3-r1.ebuild index f608f1a27396..4561f210ad0d 100644 --- a/app-misc/timew/timew-1.4.3-r1.ebuild +++ b/app-misc/timew/timew-1.4.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DTIMEW_DOCDIR=share/doc/${PF} ) diff --git a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.4.ebuild b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.4.ebuild index a3246a626c2d..527bb600f9ae 100644 --- a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.4.ebuild +++ b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,7 +26,7 @@ src_prepare() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DBUILD_DOCUMENTATION=$(usex doc 'ON' 'OFF') -DBUILD_STATICALLY_LINKED_EXE=OFF ) diff --git a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.5.ebuild b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.5.ebuild index af6a057b5e57..3b07de5cbc46 100644 --- a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.5.ebuild +++ b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,7 +26,7 @@ src_prepare() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DBUILD_DOCUMENTATION=$(usex doc 'ON' 'OFF') -DBUILD_STATICALLY_LINKED_EXE=OFF ) diff --git a/dev-cpp/muParser/muParser-2.3.2-r1.ebuild b/dev-cpp/muParser/muParser-2.3.2-r1.ebuild index a7adf4aa3980..9023bc7bc987 100644 --- a/dev-cpp/muParser/muParser-2.3.2-r1.ebuild +++ b/dev-cpp/muParser/muParser-2.3.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}/muParser-2.3-export-cmake.patch" ) src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_OPENMP=$(usex openmp) ) cmake_src_configure diff --git a/dev-cpp/muParser/muParser-2.3.3-r1.ebuild b/dev-cpp/muParser/muParser-2.3.3-r1.ebuild index b5702ad96464..669ac8313f52 100644 --- a/dev-cpp/muParser/muParser-2.3.3-r1.ebuild +++ b/dev-cpp/muParser/muParser-2.3.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,11 +21,8 @@ RESTRICT="!test? ( test )" S="${S}${suffix}" -PATCHES=( -) - src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_OPENMP=$(usex openmp) -DENABLE_WIDE_CHAR=$(usex wchar) ) @@ -35,7 +32,3 @@ src_configure() { src_test() { cmake_src_compile test } - -src_install() { - cmake_src_install -} diff --git a/dev-cpp/muParser/muParser-2.3.3.ebuild b/dev-cpp/muParser/muParser-2.3.3.ebuild index ab201cd8c983..fc2e66b58f60 100644 --- a/dev-cpp/muParser/muParser-2.3.3.ebuild +++ b/dev-cpp/muParser/muParser-2.3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,11 +21,8 @@ RESTRICT="!test? ( test )" S="${S}${suffix}" -PATCHES=( -) - src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_OPENMP=$(usex openmp) ) cmake_src_configure diff --git a/dev-cpp/muParser/muParser-2.3.4.ebuild b/dev-cpp/muParser/muParser-2.3.4.ebuild index 4dd7dfcdf406..d085086ce7f7 100644 --- a/dev-cpp/muParser/muParser-2.3.4.ebuild +++ b/dev-cpp/muParser/muParser-2.3.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,11 +16,8 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-li IUSE="doc openmp test wchar" RESTRICT="!test? ( test )" -PATCHES=( -) - src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_OPENMP=$(usex openmp) -DENABLE_WIDE_CHAR=$(usex wchar) ) @@ -30,7 +27,3 @@ src_configure() { src_test() { cmake_src_compile test } - -src_install() { - cmake_src_install -} diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r2.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r2.ebuild index d37e2bfc376f..474f39a0b30e 100644 --- a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r2.ebuild +++ b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -38,7 +38,7 @@ PATCHES=( ) src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=$(usex test) diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.4.0.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.4.0.ebuild index d37e2bfc376f..474f39a0b30e 100644 --- a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.4.0.ebuild +++ b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -38,7 +38,7 @@ PATCHES=( ) src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=$(usex test) diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.6.0.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.6.0.ebuild index d007ad4f6418..36b801e978d1 100644 --- a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.6.0.ebuild +++ b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -40,7 +40,7 @@ PATCHES=( ) src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=$(usex test) diff --git a/dev-db/mariadb/mariadb-10.3.36.ebuild b/dev-db/mariadb/mariadb-10.3.36.ebuild index 64534e90d5f2..a4cfcfe57f25 100644 --- a/dev-db/mariadb/mariadb-10.3.36.ebuild +++ b/dev-db/mariadb/mariadb-10.3.36.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -273,7 +273,7 @@ src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/mariadb/mariadb-10.3.37.ebuild b/dev-db/mariadb/mariadb-10.3.37.ebuild index f83d760a0376..1d555a27916b 100644 --- a/dev-db/mariadb/mariadb-10.3.37.ebuild +++ b/dev-db/mariadb/mariadb-10.3.37.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -273,7 +273,7 @@ src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/mariadb/mariadb-10.4.26.ebuild b/dev-db/mariadb/mariadb-10.4.26.ebuild index f91f85b6e73d..26f337d76e62 100644 --- a/dev-db/mariadb/mariadb-10.4.26.ebuild +++ b/dev-db/mariadb/mariadb-10.4.26.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -287,7 +287,7 @@ src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/mariadb/mariadb-10.4.27.ebuild b/dev-db/mariadb/mariadb-10.4.27.ebuild index 026feb6be378..5a6a7022f831 100644 --- a/dev-db/mariadb/mariadb-10.4.27.ebuild +++ b/dev-db/mariadb/mariadb-10.4.27.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -287,7 +287,7 @@ src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/mariadb/mariadb-10.5.17.ebuild b/dev-db/mariadb/mariadb-10.5.17.ebuild index d870a1d1d3ae..384feb3be774 100644 --- a/dev-db/mariadb/mariadb-10.5.17.ebuild +++ b/dev-db/mariadb/mariadb-10.5.17.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -290,7 +290,7 @@ src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/mariadb/mariadb-10.5.18.ebuild b/dev-db/mariadb/mariadb-10.5.18.ebuild index ce89a1bb7288..f939e9ffdea9 100644 --- a/dev-db/mariadb/mariadb-10.5.18.ebuild +++ b/dev-db/mariadb/mariadb-10.5.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -290,7 +290,7 @@ src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/mariadb/mariadb-10.6.10.ebuild b/dev-db/mariadb/mariadb-10.6.10.ebuild index ce9a6a6f7e30..a67cb52a4a5e 100644 --- a/dev-db/mariadb/mariadb-10.6.10.ebuild +++ b/dev-db/mariadb/mariadb-10.6.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -290,7 +290,7 @@ src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/mariadb/mariadb-10.6.11.ebuild b/dev-db/mariadb/mariadb-10.6.11.ebuild index d495a241e226..31285154561e 100644 --- a/dev-db/mariadb/mariadb-10.6.11.ebuild +++ b/dev-db/mariadb/mariadb-10.6.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -291,7 +291,7 @@ src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/mysql/mysql-5.7.36-r1.ebuild b/dev-db/mysql/mysql-5.7.36-r1.ebuild index 482b873a518e..4679a6ef6089 100644 --- a/dev-db/mysql/mysql-5.7.36-r1.ebuild +++ b/dev-db/mysql/mysql-5.7.36-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -290,7 +290,7 @@ multilib_src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/mysql/mysql-5.7.40.ebuild b/dev-db/mysql/mysql-5.7.40.ebuild index e22e7215d2bc..19f47c417c89 100644 --- a/dev-db/mysql/mysql-5.7.40.ebuild +++ b/dev-db/mysql/mysql-5.7.40.ebuild @@ -289,7 +289,7 @@ multilib_src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/mysql/mysql-8.0.27.ebuild b/dev-db/mysql/mysql-8.0.27.ebuild index 0a2cedce470c..87825505d12d 100644 --- a/dev-db/mysql/mysql-8.0.27.ebuild +++ b/dev-db/mysql/mysql-8.0.27.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" @@ -202,7 +202,7 @@ src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild b/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild index 47b4afb78e18..1d61ecef9370 100644 --- a/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild +++ b/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -221,7 +221,7 @@ src_configure() { CMAKE_BUILD_TYPE="RelWithDebInfo" # debug hack wrt #497532 - mycmakeargs=( + local mycmakeargs=( -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')" -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql" diff --git a/dev-libs/asmjit/asmjit-2021.11.13.ebuild b/dev-libs/asmjit/asmjit-2021.11.13.ebuild index 27da2e68b8b3..95281b54c698 100644 --- a/dev-libs/asmjit/asmjit-2021.11.13.ebuild +++ b/dev-libs/asmjit/asmjit-2021.11.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -27,7 +27,7 @@ PATCHES=( ) src_configure() { - mycmakeargs=( + local mycmakeargs=( -DASMJIT_TEST=$(usex test TRUE FALSE) ) cmake_src_configure diff --git a/dev-libs/asmjit/asmjit-2022.07.02.ebuild b/dev-libs/asmjit/asmjit-2022.07.02.ebuild index 909111795e67..a436e9b2a3f1 100644 --- a/dev-libs/asmjit/asmjit-2022.07.02.ebuild +++ b/dev-libs/asmjit/asmjit-2022.07.02.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ RESTRICT="!test? ( test )" S="${WORKDIR}"/${PN}-${CommitId} src_configure() { - mycmakeargs=( + local mycmakeargs=( -DASMJIT_TEST=$(usex test) ) cmake_src_configure diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild b/dev-libs/libcbor/libcbor-0.9.0.ebuild index 9d2172da0ce8..44cb6de4d07c 100644 --- a/dev-libs/libcbor/libcbor-0.9.0.ebuild +++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -40,7 +40,7 @@ pkg_setup() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF') -DWITH_TESTS=$(usex test 'ON' 'OFF') diff --git a/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild index d840aa57f738..2a564652addf 100644 --- a/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild +++ b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake xdg +inherit xdg cmake DESCRIPTION="Provides functionality for gaming input devices" @@ -39,30 +39,9 @@ PATCHES=( "${FILESDIR}"/${P}-cmake-3.13.patch ) -# Required because xdg.eclass overrides src_prepare() from cmake.eclass -src_prepare() { - cmake_src_prepare -} - src_configure() { - mycmakeargs=( + local mycmakeargs=( -DWITH_DOC="$(usex doc)" ) cmake_src_configure } - -src_install() { - cmake_src_install -} - -pkg_preinst() { - xdg_pkg_preinst -} - -pkg_postinst() { - xdg_pkg_postinst -} - -pkg_postrm() { - xdg_pkg_postrm -} diff --git a/dev-libs/rocksdb/rocksdb-6.14.6-r1.ebuild b/dev-libs/rocksdb/rocksdb-6.14.6-r1.ebuild index 3ec9e9aee852..aff46d621617 100644 --- a/dev-libs/rocksdb/rocksdb-6.14.6-r1.ebuild +++ b/dev-libs/rocksdb/rocksdb-6.14.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -30,7 +30,7 @@ PATCHES=( ) src_configure() { - mycmakeargs=( + local mycmakeargs=( -DFAIL_ON_WARNINGS=OFF -DFORCE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF) -DFORCE_AVX=$(usex cpu_flags_x86_avx ON OFF) diff --git a/dev-libs/rocksdb/rocksdb-6.15.5.ebuild b/dev-libs/rocksdb/rocksdb-6.15.5.ebuild index cb835069c451..adeb2e8a46e8 100644 --- a/dev-libs/rocksdb/rocksdb-6.15.5.ebuild +++ b/dev-libs/rocksdb/rocksdb-6.15.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -30,7 +30,7 @@ PATCHES=( ) src_configure() { - mycmakeargs=( + local mycmakeargs=( -DFAIL_ON_WARNINGS=OFF -DFORCE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF) -DFORCE_AVX=$(usex cpu_flags_x86_avx ON OFF) diff --git a/dev-libs/rocksdb/rocksdb-6.17.3.ebuild b/dev-libs/rocksdb/rocksdb-6.17.3.ebuild index ce510723b0dd..8da4d0066c99 100644 --- a/dev-libs/rocksdb/rocksdb-6.17.3.ebuild +++ b/dev-libs/rocksdb/rocksdb-6.17.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -31,7 +31,7 @@ PATCHES=( ) src_configure() { - mycmakeargs=( + local mycmakeargs=( -DFAIL_ON_WARNINGS=OFF -DFORCE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF) -DFORCE_AVX=$(usex cpu_flags_x86_avx ON OFF) diff --git a/dev-libs/simdjson/simdjson-1.0.2.ebuild b/dev-libs/simdjson/simdjson-1.0.2.ebuild index 71e7e89153e9..e4fbf9055959 100644 --- a/dev-libs/simdjson/simdjson-1.0.2.ebuild +++ b/dev-libs/simdjson/simdjson-1.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -60,7 +60,7 @@ src_prepare() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DSIMDJSON_ENABLE_THREADS=ON ) use test && mycmakeargs+=( diff --git a/dev-libs/simdjson/simdjson-1.1.0.ebuild b/dev-libs/simdjson/simdjson-1.1.0.ebuild index 6f9106ac1e38..65bd48189585 100644 --- a/dev-libs/simdjson/simdjson-1.1.0.ebuild +++ b/dev-libs/simdjson/simdjson-1.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -60,7 +60,7 @@ src_prepare() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DSIMDJSON_ENABLE_THREADS=ON ) use test && mycmakeargs+=( diff --git a/dev-libs/simdjson/simdjson-2.0.4.ebuild b/dev-libs/simdjson/simdjson-2.0.4.ebuild index b8e15288e648..e10cd8aa1dc0 100644 --- a/dev-libs/simdjson/simdjson-2.0.4.ebuild +++ b/dev-libs/simdjson/simdjson-2.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -60,7 +60,7 @@ src_prepare() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DSIMDJSON_ENABLE_THREADS=ON ) use test && mycmakeargs+=( diff --git a/dev-libs/simdjson/simdjson-2.1.0-r1.ebuild b/dev-libs/simdjson/simdjson-2.1.0-r1.ebuild index 55fc98496a4e..a0cc3eba3666 100644 --- a/dev-libs/simdjson/simdjson-2.1.0-r1.ebuild +++ b/dev-libs/simdjson/simdjson-2.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -60,7 +60,7 @@ src_prepare() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DSIMDJSON_ENABLE_THREADS=ON ) use test && mycmakeargs+=( diff --git a/dev-libs/simdjson/simdjson-2.2.2.ebuild b/dev-libs/simdjson/simdjson-2.2.2.ebuild index 976892c2f0c0..39d05eeab9e9 100644 --- a/dev-libs/simdjson/simdjson-2.2.2.ebuild +++ b/dev-libs/simdjson/simdjson-2.2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -61,7 +61,7 @@ src_prepare() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DSIMDJSON_ENABLE_THREADS=ON ) use test && mycmakeargs+=( diff --git a/dev-libs/simdjson/simdjson-3.0.0.ebuild b/dev-libs/simdjson/simdjson-3.0.0.ebuild index cac6dd3f9eba..96531492db42 100644 --- a/dev-libs/simdjson/simdjson-3.0.0.ebuild +++ b/dev-libs/simdjson/simdjson-3.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -62,7 +62,7 @@ src_prepare() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DSIMDJSON_ENABLE_THREADS=ON ) use test && mycmakeargs+=( diff --git a/dev-libs/thrift/thrift-0.16.0-r1.ebuild b/dev-libs/thrift/thrift-0.16.0-r1.ebuild index d4db37319da1..22f3fc9e88b4 100644 --- a/dev-libs/thrift/thrift-0.16.0-r1.ebuild +++ b/dev-libs/thrift/thrift-0.16.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -33,7 +33,7 @@ PATCHES=( ) src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DBUILD_CPP=ON -DBUILD_C_GLIB=OFF -DBUILD_JAVA=OFF diff --git a/dev-util/bcc/bcc-0.25.0.ebuild b/dev-util/bcc/bcc-0.25.0.ebuild index 3587e236d298..f4e7887f0085 100644 --- a/dev-util/bcc/bcc-0.25.0.ebuild +++ b/dev-util/bcc/bcc-0.25.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -94,7 +94,7 @@ src_configure() { local bcc_python_impls python_foreach_impl python_add_impl - local -a mycmakeargs=( + local mycmakeargs=( -DREVISION=${PV%%_*} -DENABLE_LLVM_SHARED=ON -DCMAKE_USE_LIBBPF_PACKAGE=ON diff --git a/dev-util/bpftrace/bpftrace-0.15.0-r2.ebuild b/dev-util/bpftrace/bpftrace-0.15.0-r2.ebuild index b4161428fb8c..f0998d9f30ca 100644 --- a/dev-util/bpftrace/bpftrace-0.15.0-r2.ebuild +++ b/dev-util/bpftrace/bpftrace-0.15.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2022 Gentoo Authors +# Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -74,7 +74,7 @@ pkg_setup() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DSTATIC_LINKING:BOOL=OFF # bug 809362, 754648 -DBUILD_SHARED_LIBS:=OFF diff --git a/dev-util/bpftrace/bpftrace-0.16.0.ebuild b/dev-util/bpftrace/bpftrace-0.16.0.ebuild index f93bf5ae5f47..50e8366f23c0 100644 --- a/dev-util/bpftrace/bpftrace-0.16.0.ebuild +++ b/dev-util/bpftrace/bpftrace-0.16.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2022 Gentoo Authors +# Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -74,7 +74,7 @@ pkg_setup() { } src_configure() { - local -a mycmakeargs=( + local mycmakeargs=( -DSTATIC_LINKING:BOOL=OFF # bug 809362, 754648 -DBUILD_TESTING:BOOL=$(usex test) diff --git a/games-strategy/wesnoth/wesnoth-1.16.6.ebuild b/games-strategy/wesnoth/wesnoth-1.16.6.ebuild index 1a92e4f2d992..f8edac88d9d7 100644 --- a/games-strategy/wesnoth/wesnoth-1.16.6.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.16.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -67,8 +67,10 @@ src_prepare() { src_configure() { filter-flags -ftracer -fomit-frame-pointer + local mycmakeargs=() + if use dedicated || use server ; then - mycmakeargs=( + mycmakeargs+=( -DENABLE_CAMPAIGN_SERVER="ON" -DENABLE_SERVER="ON" -DSERVER_UID="${PN}" @@ -76,7 +78,7 @@ src_configure() { -DFIFO_DIR="/run/wesnothd" ) else - mycmakeargs=( + mycmakeargs+=( -DENABLE_CAMPAIGN_SERVER="OFF" -DENABLE_SERVER="OFF" ) diff --git a/games-strategy/wesnoth/wesnoth-1.17.11.ebuild b/games-strategy/wesnoth/wesnoth-1.17.11.ebuild index 5724bdef29fa..834aa1c3259c 100644 --- a/games-strategy/wesnoth/wesnoth-1.17.11.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.17.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -65,8 +65,10 @@ src_prepare() { src_configure() { filter-flags -ftracer -fomit-frame-pointer + local mycmakeargs=() + if use dedicated || use server ; then - mycmakeargs=( + mycmakeargs+=( -DENABLE_CAMPAIGN_SERVER="ON" -DENABLE_SERVER="ON" -DSERVER_UID="${PN}" @@ -74,7 +76,7 @@ src_configure() { -DFIFO_DIR="/run/wesnothd" ) else - mycmakeargs=( + mycmakeargs+=( -DENABLE_CAMPAIGN_SERVER="OFF" -DENABLE_SERVER="OFF" ) diff --git a/media-gfx/gmic/gmic-3.0.1-r3.ebuild b/media-gfx/gmic/gmic-3.0.1-r3.ebuild index a595598fb299..bb07cf674b67 100644 --- a/media-gfx/gmic/gmic-3.0.1-r3.ebuild +++ b/media-gfx/gmic/gmic-3.0.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -118,7 +118,7 @@ src_configure() { # configure gmic-qt frontends local CMAKE_USE_DIR="${S}/gmic-qt" - mycmakeargs=( + local mycmakeargs=( -DENABLE_DYNAMIC_LINKING=ON -DENABLE_CURL=$(usex curl) -DGMIC_LIB_PATH="${BUILD_DIR}" diff --git a/media-libs/ctl/ctl-1.5.2-r4.ebuild b/media-libs/ctl/ctl-1.5.2-r4.ebuild index a63570fa6617..0276777c0657 100644 --- a/media-libs/ctl/ctl-1.5.2-r4.ebuild +++ b/media-libs/ctl/ctl-1.5.2-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -32,8 +32,6 @@ PATCHES=( "${FILESDIR}/${P}-fix-unit-tests.patch" ) -mycmakeargs=( -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" ) - src_test() { pushd "${BUILD_DIR}" >/dev/null || die eninja check diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild index 112896ef1dde..b4ce5bc37dc1 100644 --- a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild +++ b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -57,7 +57,7 @@ src_prepare() { src_configure() { append-ldflags $(no-as-needed) - mycmakeargs=( + local mycmakeargs=( -DVMCS_INSTALL_PREFIX="${EPREFIX}/usr" -DARM64=$(usex arm64) ) diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild index f05820d71ac0..b7827907a660 100644 --- a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild +++ b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -57,7 +57,7 @@ src_prepare() { src_configure() { append-ldflags $(no-as-needed) - mycmakeargs=( + local mycmakeargs=( -DVMCS_INSTALL_PREFIX="${EPREFIX}/usr" -DARM64=$(usex arm64) ) diff --git a/media-libs/rtmidi/rtmidi-5.0.0.ebuild b/media-libs/rtmidi/rtmidi-5.0.0.ebuild index 1689276e2d89..b7bef58e8518 100644 --- a/media-libs/rtmidi/rtmidi-5.0.0.ebuild +++ b/media-libs/rtmidi/rtmidi-5.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ DEPEND=" RDEPEND="${DEPEND}" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DRTMIDI_API_ALSA=$(usex alsa) -DRTMIDI_API_JACK=$(usex jack) ) diff --git a/media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012-r2.ebuild b/media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012-r2.ebuild index 4b4f0cc3d8fb..41cb4b07deae 100644 --- a/media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012-r2.ebuild +++ b/media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -36,7 +36,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DLIBOBS_INCLUDE_DIR="/usr/include/obs/" ) cmake_src_configure diff --git a/net-wireless/bladerf/bladerf-2021.03.ebuild b/net-wireless/bladerf/bladerf-2021.03.ebuild index ca6c57bdf3d4..d2060e9155f5 100644 --- a/net-wireless/bladerf/bladerf-2021.03.ebuild +++ b/net-wireless/bladerf/bladerf-2021.03.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -50,7 +50,7 @@ src_unpack() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DVERSION_INFO_OVERRIDE:STRING="${PV}" -DBUILD_DOCUMENTATION="$(usex doc)" -DENABLE_LIBTECLA="$(usex tecla)" diff --git a/net-wireless/bladerf/bladerf-9999.ebuild b/net-wireless/bladerf/bladerf-9999.ebuild index 09bf7b568186..e491fa669c2f 100644 --- a/net-wireless/bladerf/bladerf-9999.ebuild +++ b/net-wireless/bladerf/bladerf-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -50,7 +50,7 @@ src_unpack() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DVERSION_INFO_OVERRIDE:STRING="${PV}" -DBUILD_DOCUMENTATION="$(usex doc)" -DENABLE_LIBTECLA="$(usex tecla)" diff --git a/net-wireless/gnuradio/gnuradio-3.10.4.0-r1.ebuild b/net-wireless/gnuradio/gnuradio-3.10.4.0-r1.ebuild index b0c65e418699..ad94f3bac3cd 100644 --- a/net-wireless/gnuradio/gnuradio-3.10.4.0-r1.ebuild +++ b/net-wireless/gnuradio/gnuradio-3.10.4.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -148,7 +148,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_DEFAULT=OFF -DENABLE_GNURADIO_RUNTIME=ON -DENABLE_PYTHON=ON diff --git a/net-wireless/gnuradio/gnuradio-3.10.5.0-r2.ebuild b/net-wireless/gnuradio/gnuradio-3.10.5.0-r2.ebuild index e0ee70323331..7ab262e863ee 100644 --- a/net-wireless/gnuradio/gnuradio-3.10.5.0-r2.ebuild +++ b/net-wireless/gnuradio/gnuradio-3.10.5.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -147,7 +147,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_DEFAULT=OFF -DENABLE_GNURADIO_RUNTIME=ON -DENABLE_PYTHON=ON diff --git a/net-wireless/gnuradio/gnuradio-9999.ebuild b/net-wireless/gnuradio/gnuradio-9999.ebuild index 807c1bcd6083..579dc7351b6c 100644 --- a/net-wireless/gnuradio/gnuradio-9999.ebuild +++ b/net-wireless/gnuradio/gnuradio-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -143,7 +143,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_DEFAULT=OFF -DENABLE_GNURADIO_RUNTIME=ON -DENABLE_PYTHON=ON diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild index f01fbb7f7914..9c5a936cbc26 100644 --- a/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild +++ b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -47,7 +47,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" -DGR_PKG_DOC_DIR="/usr/share/doc/${P}" ) diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild index b0c7d2227f94..fbc335000938 100644 --- a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild +++ b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -47,7 +47,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" -DGR_PKG_DOC_DIR="/usr/share/doc/${P}" ) diff --git a/net-wireless/liblms7002m/liblms7002m-0.0_p20200518-r1.ebuild b/net-wireless/liblms7002m/liblms7002m-0.0_p20200518-r1.ebuild index e02edefc4b60..d17dae1a2401 100644 --- a/net-wireless/liblms7002m/liblms7002m-0.0_p20200518-r1.ebuild +++ b/net-wireless/liblms7002m/liblms7002m-0.0_p20200518-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -32,7 +32,7 @@ python_check_deps() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" ) cmake_src_configure diff --git a/net-wireless/liblms7002m/liblms7002m-9999.ebuild b/net-wireless/liblms7002m/liblms7002m-9999.ebuild index e02edefc4b60..d17dae1a2401 100644 --- a/net-wireless/liblms7002m/liblms7002m-9999.ebuild +++ b/net-wireless/liblms7002m/liblms7002m-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -32,7 +32,7 @@ python_check_deps() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" ) cmake_src_configure diff --git a/net-wireless/libxtrx/libxtrx-0.0_p20201202.ebuild b/net-wireless/libxtrx/libxtrx-0.0_p20201202.ebuild index 5277ce0e5d1f..e1962c0b6c2e 100644 --- a/net-wireless/libxtrx/libxtrx-0.0_p20201202.ebuild +++ b/net-wireless/libxtrx/libxtrx-0.0_p20201202.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -33,7 +33,7 @@ DEPEND="${RDEPEND}" src_configure() { #fails to build, not sure why #-DENABLE_SOAPY="$(usex soapy ON OFF)" - mycmakeargs=( + local mycmakeargs=( -DENABLE_SOAPY=OFF ) cmake_src_configure diff --git a/net-wireless/libxtrx/libxtrx-9999.ebuild b/net-wireless/libxtrx/libxtrx-9999.ebuild index 5277ce0e5d1f..e1962c0b6c2e 100644 --- a/net-wireless/libxtrx/libxtrx-9999.ebuild +++ b/net-wireless/libxtrx/libxtrx-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -33,7 +33,7 @@ DEPEND="${RDEPEND}" src_configure() { #fails to build, not sure why #-DENABLE_SOAPY="$(usex soapy ON OFF)" - mycmakeargs=( + local mycmakeargs=( -DENABLE_SOAPY=OFF ) cmake_src_configure diff --git a/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild b/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild index 6e0b7183d221..0bf53e74f27d 100644 --- a/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild +++ b/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,7 +26,7 @@ RDEPEND="usb3380? ( net-wireless/libusb3380 )" DEPEND="${RDEPEND}" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_PCIE=ON -DENABLE_USB3380="$(usex usb3380 ON OFF)" ) diff --git a/net-wireless/libxtrxll/libxtrxll-9999.ebuild b/net-wireless/libxtrxll/libxtrxll-9999.ebuild index 6e0b7183d221..0bf53e74f27d 100644 --- a/net-wireless/libxtrxll/libxtrxll-9999.ebuild +++ b/net-wireless/libxtrxll/libxtrxll-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,7 +26,7 @@ RDEPEND="usb3380? ( net-wireless/libusb3380 )" DEPEND="${RDEPEND}" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_PCIE=ON -DENABLE_USB3380="$(usex usb3380 ON OFF)" ) diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild index b00901863baa..bbdfee3faae7 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -42,7 +42,7 @@ src_prepare() { src_configure() { #the udev rules are 666, we don't want that - mycmakeargs=( + local mycmakeargs=( -DINSTALL_UDEV_RULES=OFF -DDETACH_KERNEL_DRIVER=ON -DENABLE_ZEROCOPY="$(usex zerocopy)" diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild index 959351d23e5c..f7b88d47150c 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -46,7 +46,7 @@ src_prepare() { src_configure() { #the udev rules are 666, we don't want that - mycmakeargs=( + local mycmakeargs=( -DINSTALL_UDEV_RULES=OFF -DDETACH_KERNEL_DRIVER=ON -DENABLE_ZEROCOPY="$(usex zerocopy)" diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild index 9077e7f0dbe7..1da1818e4d31 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -42,7 +42,7 @@ src_prepare() { src_configure() { #the udev rules are 666, we don't want that - mycmakeargs=( + local mycmakeargs=( -DINSTALL_UDEV_RULES=OFF -DDETACH_KERNEL_DRIVER=ON -DENABLE_ZEROCOPY="$(usex zerocopy)" diff --git a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild index 9077e7f0dbe7..1da1818e4d31 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -42,7 +42,7 @@ src_prepare() { src_configure() { #the udev rules are 666, we don't want that - mycmakeargs=( + local mycmakeargs=( -DINSTALL_UDEV_RULES=OFF -DDETACH_KERNEL_DRIVER=ON -DENABLE_ZEROCOPY="$(usex zerocopy)" diff --git a/net-wireless/rtl_433/rtl_433-21.12.ebuild b/net-wireless/rtl_433/rtl_433-21.12.ebuild index 7e127adedfde..8e0908f317bb 100644 --- a/net-wireless/rtl_433/rtl_433-21.12.ebuild +++ b/net-wireless/rtl_433/rtl_433-21.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -32,7 +32,7 @@ PATCHES=( ) src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_RTLSDR="$(usex rtlsdr)" -DENABLE_SOAPYSDR="$(usex soapysdr)" -DBUILD_TESTING="$(usex test)" diff --git a/net-wireless/rtl_433/rtl_433-9999.ebuild b/net-wireless/rtl_433/rtl_433-9999.ebuild index 74f846b96d6d..6ccdde0e72e7 100644 --- a/net-wireless/rtl_433/rtl_433-9999.ebuild +++ b/net-wireless/rtl_433/rtl_433-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -30,7 +30,7 @@ RDEPEND="${DEPEND}" RESTRICT="!test? ( test )" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DENABLE_RTLSDR="$(usex rtlsdr)" -DENABLE_SOAPYSDR="$(usex soapysdr)" -DBUILD_TESTING="$(usex test)" diff --git a/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild b/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild index 255810902b42..29c88f0d70a6 100644 --- a/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild +++ b/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -147,7 +147,7 @@ src_configure() { cuda=( "-DGMX_GPU=ON" ) local opencl=( "-DGMX_USE_OPENCL=OFF" ) use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=OFF -DGMX_THREAD_MPI=$(usex threads) @@ -162,7 +162,7 @@ src_configure() { sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die use mpi || continue einfo "Configuring for ${x} precision with mpi" - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_THREAD_MPI=OFF -DGMX_MPI=ON diff --git a/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild b/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild index bf9f493d1163..7f9f30390239 100644 --- a/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild +++ b/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -158,7 +158,7 @@ src_configure() { cuda=( "-DGMX_GPU=ON" ) local opencl=( "-DGMX_USE_OPENCL=OFF" ) use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=OFF -DGMX_THREAD_MPI=$(usex threads) @@ -174,7 +174,7 @@ src_configure() { sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die use mpi || continue einfo "Configuring for ${x} precision with mpi" - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_THREAD_MPI=OFF -DGMX_MPI=ON diff --git a/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild b/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild index ea9f998593a4..ceafc20dcc7c 100644 --- a/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild +++ b/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -160,7 +160,7 @@ src_configure() { cuda=( "-DGMX_GPU=ON" ) local opencl=( "-DGMX_USE_OPENCL=OFF" ) use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=OFF -DGMX_THREAD_MPI=$(usex threads) @@ -176,7 +176,7 @@ src_configure() { sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die use mpi || continue einfo "Configuring for ${x} precision with mpi" - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_THREAD_MPI=OFF -DGMX_MPI=ON diff --git a/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild b/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild index a1a975ee8107..4dba54bef4ab 100644 --- a/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild +++ b/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -231,7 +231,7 @@ src_configure() { cuda=( "-DGMX_GPU=ON" ) local opencl=( "-DGMX_USE_OPENCL=OFF" ) use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=OFF -DGMX_THREAD_MPI=$(usex threads) @@ -249,7 +249,7 @@ src_configure() { sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die use mpi || continue einfo "Configuring for ${x} precision with mpi" - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_THREAD_MPI=OFF -DGMX_MPI=ON diff --git a/sci-chemistry/gromacs/gromacs-2020.7.ebuild b/sci-chemistry/gromacs/gromacs-2020.7.ebuild index afbf991e279f..7e8fc98af66e 100644 --- a/sci-chemistry/gromacs/gromacs-2020.7.ebuild +++ b/sci-chemistry/gromacs/gromacs-2020.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -231,7 +231,7 @@ src_configure() { cuda=( "-DGMX_GPU=ON" ) local opencl=( "-DGMX_USE_OPENCL=OFF" ) use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=OFF -DGMX_THREAD_MPI=$(usex threads) @@ -249,7 +249,7 @@ src_configure() { sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die use mpi || continue einfo "Configuring for ${x} precision with mpi" - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_THREAD_MPI=OFF -DGMX_MPI=ON diff --git a/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild b/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild index f55212f3bdc7..fb8e9270106c 100644 --- a/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild +++ b/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -237,7 +237,7 @@ src_configure() { local gpu=( "-DGMX_GPU=OFF" ) [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" ) use opencl && gpu=( "-DGMX_GPU=OPENCL" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=OFF -DGMX_THREAD_MPI=$(usex threads) @@ -254,7 +254,7 @@ src_configure() { sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die use mpi || continue einfo "Configuring for ${x} precision with mpi" - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_THREAD_MPI=OFF -DGMX_MPI=ON diff --git a/sci-chemistry/gromacs/gromacs-2021.5.ebuild b/sci-chemistry/gromacs/gromacs-2021.5.ebuild index 0a8e8fdc1642..61808242def9 100644 --- a/sci-chemistry/gromacs/gromacs-2021.5.ebuild +++ b/sci-chemistry/gromacs/gromacs-2021.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -237,7 +237,7 @@ src_configure() { local gpu=( "-DGMX_GPU=OFF" ) [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" ) use opencl && gpu=( "-DGMX_GPU=OPENCL" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=OFF -DGMX_THREAD_MPI=$(usex threads) @@ -254,7 +254,7 @@ src_configure() { sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die use mpi || continue einfo "Configuring for ${x} precision with mpi" - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_THREAD_MPI=OFF -DGMX_MPI=ON diff --git a/sci-chemistry/gromacs/gromacs-2021.6.ebuild b/sci-chemistry/gromacs/gromacs-2021.6.ebuild index 0614696b9b09..4c4b095e5f91 100644 --- a/sci-chemistry/gromacs/gromacs-2021.6.ebuild +++ b/sci-chemistry/gromacs/gromacs-2021.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -237,7 +237,7 @@ src_configure() { local gpu=( "-DGMX_GPU=OFF" ) [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" ) use opencl && gpu=( "-DGMX_GPU=OPENCL" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=OFF -DGMX_THREAD_MPI=$(usex threads) @@ -254,7 +254,7 @@ src_configure() { sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die use mpi || continue einfo "Configuring for ${x} precision with mpi" - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_THREAD_MPI=OFF -DGMX_MPI=ON diff --git a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild index 31f880174588..ece941e30ed3 100644 --- a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild +++ b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -235,7 +235,7 @@ src_configure() { local gpu=( "-DGMX_GPU=OFF" ) [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" ) use opencl && gpu=( "-DGMX_GPU=OPENCL" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=OFF -DGMX_THREAD_MPI=$(usex threads) @@ -252,7 +252,7 @@ src_configure() { sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die use mpi || continue einfo "Configuring for ${x} precision with mpi" - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_THREAD_MPI=OFF -DGMX_MPI=ON diff --git a/sci-chemistry/gromacs/gromacs-2022.3.ebuild b/sci-chemistry/gromacs/gromacs-2022.3.ebuild index d0f55aca4bc1..306bd72ec9bb 100644 --- a/sci-chemistry/gromacs/gromacs-2022.3.ebuild +++ b/sci-chemistry/gromacs/gromacs-2022.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -245,7 +245,7 @@ src_configure() { [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" ) [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" ) use opencl && gpu=( "-DGMX_GPU=OPENCL" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=$(usex mpi) -DGMX_THREAD_MPI=$(usex threads) diff --git a/sci-chemistry/gromacs/gromacs-2022.4.ebuild b/sci-chemistry/gromacs/gromacs-2022.4.ebuild index 72ac3b19bbcd..15a7139387d8 100644 --- a/sci-chemistry/gromacs/gromacs-2022.4.ebuild +++ b/sci-chemistry/gromacs/gromacs-2022.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -245,7 +245,7 @@ src_configure() { [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" ) [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" ) use opencl && gpu=( "-DGMX_GPU=OPENCL" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=$(usex mpi) -DGMX_THREAD_MPI=$(usex threads) diff --git a/sci-chemistry/gromacs/gromacs-2022.9999.ebuild b/sci-chemistry/gromacs/gromacs-2022.9999.ebuild index 72ac3b19bbcd..15a7139387d8 100644 --- a/sci-chemistry/gromacs/gromacs-2022.9999.ebuild +++ b/sci-chemistry/gromacs/gromacs-2022.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -245,7 +245,7 @@ src_configure() { [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" ) [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" ) use opencl && gpu=( "-DGMX_GPU=OPENCL" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=$(usex mpi) -DGMX_THREAD_MPI=$(usex threads) diff --git a/sci-chemistry/gromacs/gromacs-2023.9999.ebuild b/sci-chemistry/gromacs/gromacs-2023.9999.ebuild index f2f127f13d21..df489bdf84db 100644 --- a/sci-chemistry/gromacs/gromacs-2023.9999.ebuild +++ b/sci-chemistry/gromacs/gromacs-2023.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -243,7 +243,7 @@ src_configure() { [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" ) [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" ) use opencl && gpu=( "-DGMX_GPU=OPENCL" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=$(usex mpi) -DGMX_THREAD_MPI=$(usex threads) diff --git a/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild b/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild index f2f127f13d21..df489bdf84db 100644 --- a/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild +++ b/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -243,7 +243,7 @@ src_configure() { [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" ) [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" ) use opencl && gpu=( "-DGMX_GPU=OPENCL" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=$(usex mpi) -DGMX_THREAD_MPI=$(usex threads) diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-9999.ebuild index f2f127f13d21..df489bdf84db 100644 --- a/sci-chemistry/gromacs/gromacs-9999.ebuild +++ b/sci-chemistry/gromacs/gromacs-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -243,7 +243,7 @@ src_configure() { [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" ) [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" ) use opencl && gpu=( "-DGMX_GPU=OPENCL" ) - mycmakeargs=( + local mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_MPI=$(usex mpi) -DGMX_THREAD_MPI=$(usex threads) diff --git a/sci-libs/libaec/libaec-1.0.6.ebuild b/sci-libs/libaec/libaec-1.0.6.ebuild index a285731d1520..d413db1b4c29 100644 --- a/sci-libs/libaec/libaec-1.0.6.ebuild +++ b/sci-libs/libaec/libaec-1.0.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ IUSE="+szip" RDEPEND="szip? ( !sci-libs/szip )" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DCMAKE_INSTALL_LIBDIR=$(get_libdir) ) diff --git a/sci-physics/espresso/espresso-4.1.3.ebuild b/sci-physics/espresso/espresso-4.1.3.ebuild index 4c60379b475a..50078106b0ba 100644 --- a/sci-physics/espresso/espresso-4.1.3.ebuild +++ b/sci-physics/espresso/espresso-4.1.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -59,7 +59,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DWITH_CUDA=$(usex cuda) -DPYTHON_EXECUTABLE="${PYTHON}" -DWITH_TESTS=$(usex test) diff --git a/sci-physics/espresso/espresso-4.2.0.ebuild b/sci-physics/espresso/espresso-4.2.0.ebuild index fb6b55b2bc12..443b1bb4a118 100644 --- a/sci-physics/espresso/espresso-4.2.0.ebuild +++ b/sci-physics/espresso/espresso-4.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -63,7 +63,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DWITH_CUDA=$(usex cuda) -DPYTHON_EXECUTABLE="${PYTHON}" -DWITH_TESTS=$(usex test) diff --git a/sci-physics/espresso/espresso-9999.ebuild b/sci-physics/espresso/espresso-9999.ebuild index 0373c76056bf..1c8149b261a4 100644 --- a/sci-physics/espresso/espresso-9999.ebuild +++ b/sci-physics/espresso/espresso-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -59,7 +59,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DWITH_CUDA=$(usex cuda) -DPYTHON_EXECUTABLE="${PYTHON}" -DWITH_TESTS=$(usex test) diff --git a/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild b/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild index 84bfb0cbab3f..9c5eab819e44 100644 --- a/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild +++ b/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -104,7 +104,7 @@ src_configure() { append-cflags "$(${PKGCONF} --cflags harfbuzz)" fi - mycmakeargs=( + local mycmakeargs=( -DDEVICES="${USED_MODELS/;/}" -DUDEVDIR="${EPREFIX}$(get_udevdir)/rules.d" ) diff --git a/sys-fs/dfc/dfc-3.1.1.ebuild b/sys-fs/dfc/dfc-3.1.1.ebuild index 6efb0e5b80cd..4e0dba7f60f0 100644 --- a/sys-fs/dfc/dfc-3.1.1.ebuild +++ b/sys-fs/dfc/dfc-3.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ DEPEND="nls? ( RDEPEND="nls? ( virtual/libintl )" src_configure() { - mycmakeargs=( + local mycmakeargs=( # avoid installing xdg config in /usr -DXDG_CONFIG_DIR="${EPREFIX}"/etc/xdg # use the standard Gentoo doc path diff --git a/x11-wm/herbstluftwm/herbstluftwm-0.9.5.ebuild b/x11-wm/herbstluftwm/herbstluftwm-0.9.5.ebuild index d69cb69d2351..e732c8be90e1 100644 --- a/x11-wm/herbstluftwm/herbstluftwm-0.9.5.ebuild +++ b/x11-wm/herbstluftwm/herbstluftwm-0.9.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -80,7 +80,7 @@ src_configure() { # Ensure that 'python3' is in PATH. #765118 python_setup - mycmakeargs=( + local mycmakeargs=( -DWITH_DOCUMENTATION=$(usex doc) ) cmake_src_configure diff --git a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild index 4bb6c21b60f1..051f9ba720c9 100644 --- a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild +++ b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -89,7 +89,7 @@ src_configure() { # Ensure that 'python3' is in PATH. #765118 python_setup - mycmakeargs=( + local mycmakeargs=( -DWITH_DOCUMENTATION=$(usex doc) ) cmake_src_configure |