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 | 94820d5f0f35fc3204b03643e4507d5b3c65cb07 (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 |
