Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/rtl-sdr/, net-wireless/libxtrx/, dev-db/percona-server/, ...
Date: Tue, 03 Jan 2023 14:49:23
Message-Id: 1672757346.128c4b0b6c73f994174bf351d311ed021adbc6f7.soap@gentoo
1 commit: 128c4b0b6c73f994174bf351d311ed021adbc6f7
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 3 14:49:06 2023 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 3 14:49:06 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=128c4b0b
7
8 */*: make mycmakeargs local
9
10 Closes: https://github.com/gentoo/gentoo/pull/28947
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 app-admin/conky/conky-1.13.1.ebuild | 8 +++----
14 app-admin/conky/conky-1.15.0.ebuild | 8 +++----
15 app-misc/cmatrix/cmatrix-2.0-r4.ebuild | 4 ++--
16 app-misc/task/task-2.6.2.ebuild | 4 ++--
17 app-misc/timew/timew-1.4.2.ebuild | 4 ++--
18 app-misc/timew/timew-1.4.3-r1.ebuild | 4 ++--
19 .../editorconfig-core-c-0.12.4.ebuild | 4 ++--
20 .../editorconfig-core-c-0.12.5.ebuild | 4 ++--
21 dev-cpp/muParser/muParser-2.3.2-r1.ebuild | 4 ++--
22 dev-cpp/muParser/muParser-2.3.3-r1.ebuild | 11 ++-------
23 dev-cpp/muParser/muParser-2.3.3.ebuild | 7 ++----
24 dev-cpp/muParser/muParser-2.3.4.ebuild | 11 ++-------
25 .../opentelemetry-cpp-1.3.0-r2.ebuild | 4 ++--
26 .../opentelemetry-cpp-1.4.0.ebuild | 4 ++--
27 .../opentelemetry-cpp-1.6.0.ebuild | 4 ++--
28 dev-db/mariadb/mariadb-10.3.36.ebuild | 4 ++--
29 dev-db/mariadb/mariadb-10.3.37.ebuild | 4 ++--
30 dev-db/mariadb/mariadb-10.4.26.ebuild | 4 ++--
31 dev-db/mariadb/mariadb-10.4.27.ebuild | 4 ++--
32 dev-db/mariadb/mariadb-10.5.17.ebuild | 4 ++--
33 dev-db/mariadb/mariadb-10.5.18.ebuild | 4 ++--
34 dev-db/mariadb/mariadb-10.6.10.ebuild | 4 ++--
35 dev-db/mariadb/mariadb-10.6.11.ebuild | 4 ++--
36 dev-db/mysql/mysql-5.7.36-r1.ebuild | 4 ++--
37 dev-db/mysql/mysql-5.7.40.ebuild | 2 +-
38 dev-db/mysql/mysql-8.0.27.ebuild | 4 ++--
39 .../percona-server-8.0.26.16-r1.ebuild | 4 ++--
40 dev-libs/asmjit/asmjit-2021.11.13.ebuild | 4 ++--
41 dev-libs/asmjit/asmjit-2022.07.02.ebuild | 4 ++--
42 dev-libs/libcbor/libcbor-0.9.0.ebuild | 4 ++--
43 dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild | 27 +++-------------------
44 dev-libs/rocksdb/rocksdb-6.14.6-r1.ebuild | 4 ++--
45 dev-libs/rocksdb/rocksdb-6.15.5.ebuild | 4 ++--
46 dev-libs/rocksdb/rocksdb-6.17.3.ebuild | 4 ++--
47 dev-libs/simdjson/simdjson-1.0.2.ebuild | 4 ++--
48 dev-libs/simdjson/simdjson-1.1.0.ebuild | 4 ++--
49 dev-libs/simdjson/simdjson-2.0.4.ebuild | 4 ++--
50 dev-libs/simdjson/simdjson-2.1.0-r1.ebuild | 4 ++--
51 dev-libs/simdjson/simdjson-2.2.2.ebuild | 4 ++--
52 dev-libs/simdjson/simdjson-3.0.0.ebuild | 4 ++--
53 dev-libs/thrift/thrift-0.16.0-r1.ebuild | 4 ++--
54 dev-util/bcc/bcc-0.25.0.ebuild | 4 ++--
55 dev-util/bpftrace/bpftrace-0.15.0-r2.ebuild | 4 ++--
56 dev-util/bpftrace/bpftrace-0.16.0.ebuild | 4 ++--
57 games-strategy/wesnoth/wesnoth-1.16.6.ebuild | 8 ++++---
58 games-strategy/wesnoth/wesnoth-1.17.11.ebuild | 8 ++++---
59 media-gfx/gmic/gmic-3.0.1-r3.ebuild | 4 ++--
60 media-libs/ctl/ctl-1.5.2-r4.ebuild | 4 +---
61 .../raspberrypi-userland-0_pre20201022.ebuild | 4 ++--
62 .../raspberrypi-userland-9999.ebuild | 4 ++--
63 media-libs/rtmidi/rtmidi-5.0.0.ebuild | 4 ++--
64 .../obs-v4l2sink-0.1.0_p20181012-r2.ebuild | 4 ++--
65 net-wireless/bladerf/bladerf-2021.03.ebuild | 4 ++--
66 net-wireless/bladerf/bladerf-9999.ebuild | 4 ++--
67 net-wireless/gnuradio/gnuradio-3.10.4.0-r1.ebuild | 4 ++--
68 net-wireless/gnuradio/gnuradio-3.10.5.0-r2.ebuild | 4 ++--
69 net-wireless/gnuradio/gnuradio-9999.ebuild | 4 ++--
70 .../gr-ieee802154-0.0_p20210719-r3.ebuild | 4 ++--
71 .../gr-ieee802154/gr-ieee802154-9999.ebuild | 4 ++--
72 .../liblms7002m-0.0_p20200518-r1.ebuild | 4 ++--
73 net-wireless/liblms7002m/liblms7002m-9999.ebuild | 4 ++--
74 net-wireless/libxtrx/libxtrx-0.0_p20201202.ebuild | 4 ++--
75 net-wireless/libxtrx/libxtrx-9999.ebuild | 4 ++--
76 .../libxtrxll/libxtrxll-0.0_p20201202.ebuild | 4 ++--
77 net-wireless/libxtrxll/libxtrxll-9999.ebuild | 4 ++--
78 .../rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild | 4 ++--
79 net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild | 4 ++--
80 .../rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild | 4 ++--
81 net-wireless/rtl-sdr/rtl-sdr-9999.ebuild | 4 ++--
82 net-wireless/rtl_433/rtl_433-21.12.ebuild | 4 ++--
83 net-wireless/rtl_433/rtl_433-9999.ebuild | 4 ++--
84 sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild | 6 ++---
85 sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild | 6 ++---
86 sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild | 6 ++---
87 sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild | 6 ++---
88 sci-chemistry/gromacs/gromacs-2020.7.ebuild | 6 ++---
89 sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild | 6 ++---
90 sci-chemistry/gromacs/gromacs-2021.5.ebuild | 6 ++---
91 sci-chemistry/gromacs/gromacs-2021.6.ebuild | 6 ++---
92 sci-chemistry/gromacs/gromacs-2021.9999.ebuild | 6 ++---
93 sci-chemistry/gromacs/gromacs-2022.3.ebuild | 4 ++--
94 sci-chemistry/gromacs/gromacs-2022.4.ebuild | 4 ++--
95 sci-chemistry/gromacs/gromacs-2022.9999.ebuild | 4 ++--
96 sci-chemistry/gromacs/gromacs-2023.9999.ebuild | 4 ++--
97 sci-chemistry/gromacs/gromacs-2023_rc1.ebuild | 4 ++--
98 sci-chemistry/gromacs/gromacs-9999.ebuild | 4 ++--
99 sci-libs/libaec/libaec-1.0.6.ebuild | 4 ++--
100 sci-physics/espresso/espresso-4.1.3.ebuild | 4 ++--
101 sci-physics/espresso/espresso-4.2.0.ebuild | 4 ++--
102 sci-physics/espresso/espresso-9999.ebuild | 4 ++--
103 .../roccat-tools/roccat-tools-5.9.0-r101.ebuild | 4 ++--
104 sys-fs/dfc/dfc-3.1.1.ebuild | 4 ++--
105 x11-wm/herbstluftwm/herbstluftwm-0.9.5.ebuild | 4 ++--
106 x11-wm/herbstluftwm/herbstluftwm-9999.ebuild | 4 ++--
107 94 files changed, 206 insertions(+), 242 deletions(-)
108
109 diff --git a/app-admin/conky/conky-1.13.1.ebuild b/app-admin/conky/conky-1.13.1.ebuild
110 index cf2c7c6dbc1d..5cc04259da16 100644
111 --- a/app-admin/conky/conky-1.13.1.ebuild
112 +++ b/app-admin/conky/conky-1.13.1.ebuild
113 @@ -1,4 +1,4 @@
114 -# Copyright 1999-2022 Gentoo Authors
115 +# Copyright 1999-2023 Gentoo Authors
116 # Distributed under the terms of the GNU General Public License v2
117
118 EAPI=8
119 @@ -103,10 +103,10 @@ src_prepare() {
120 }
121
122 src_configure() {
123 - local mycmakeargs
124 + local mycmakeargs=()
125
126 if use X; then
127 - mycmakeargs=(
128 + mycmakeargs+=(
129 -DBUILD_ARGB=yes
130 -DBUILD_X11=yes
131 -DBUILD_XDAMAGE=yes
132 @@ -115,7 +115,7 @@ src_configure() {
133 -DOWN_WINDOW=yes
134 )
135 else
136 - mycmakeargs=(
137 + mycmakeargs+=(
138 -DBUILD_X11=no
139 )
140 fi
141
142 diff --git a/app-admin/conky/conky-1.15.0.ebuild b/app-admin/conky/conky-1.15.0.ebuild
143 index d3d700c1507a..640060b9264d 100644
144 --- a/app-admin/conky/conky-1.15.0.ebuild
145 +++ b/app-admin/conky/conky-1.15.0.ebuild
146 @@ -1,4 +1,4 @@
147 -# Copyright 1999-2022 Gentoo Authors
148 +# Copyright 1999-2023 Gentoo Authors
149 # Distributed under the terms of the GNU General Public License v2
150
151 EAPI=8
152 @@ -120,10 +120,10 @@ src_prepare() {
153 }
154
155 src_configure() {
156 - local mycmakeargs
157 + local mycmakeargs=()
158
159 if use X; then
160 - mycmakeargs=(
161 + mycmakeargs+=(
162 -DBUILD_ARGB=yes
163 -DBUILD_X11=yes
164 -DBUILD_XDAMAGE=yes
165 @@ -132,7 +132,7 @@ src_configure() {
166 -DOWN_WINDOW=yes
167 )
168 else
169 - mycmakeargs=(
170 + mycmakeargs+=(
171 -DBUILD_X11=no
172 )
173 fi
174
175 diff --git a/app-misc/cmatrix/cmatrix-2.0-r4.ebuild b/app-misc/cmatrix/cmatrix-2.0-r4.ebuild
176 index 6d2ecbb3ffd0..fc52c436c8d1 100644
177 --- a/app-misc/cmatrix/cmatrix-2.0-r4.ebuild
178 +++ b/app-misc/cmatrix/cmatrix-2.0-r4.ebuild
179 @@ -1,4 +1,4 @@
180 -# Copyright 1999-2021 Gentoo Authors
181 +# Copyright 1999-2023 Gentoo Authors
182 # Distributed under the terms of the GNU General Public License v2
183
184 EAPI=7
185 @@ -24,7 +24,7 @@ BDEPEND=""
186 RDEPEND="${DEPEND}"
187
188 src_configure() {
189 - mycmakeargs=(
190 + local mycmakeargs=(
191 -DCURSES_NEED_WIDE=$(usex unicode)
192 )
193 cmake_src_configure
194
195 diff --git a/app-misc/task/task-2.6.2.ebuild b/app-misc/task/task-2.6.2.ebuild
196 index acaa34e50b1c..71c06cea727a 100644
197 --- a/app-misc/task/task-2.6.2.ebuild
198 +++ b/app-misc/task/task-2.6.2.ebuild
199 @@ -1,4 +1,4 @@
200 -# Copyright 1999-2022 Gentoo Authors
201 +# Copyright 1999-2023 Gentoo Authors
202 # Distributed under the terms of the GNU General Public License v2
203
204 EAPI=7
205 @@ -32,7 +32,7 @@ src_prepare() {
206 }
207
208 src_configure() {
209 - mycmakeargs=(
210 + local mycmakeargs=(
211 -DENABLE_SYNC=$(usex sync)
212 -DTASK_DOCDIR=share/doc/${PF}
213 -DTASK_RCDIR=share/${PN}/rc
214
215 diff --git a/app-misc/timew/timew-1.4.2.ebuild b/app-misc/timew/timew-1.4.2.ebuild
216 index 3887d9064d48..ec2bdffe0327 100644
217 --- a/app-misc/timew/timew-1.4.2.ebuild
218 +++ b/app-misc/timew/timew-1.4.2.ebuild
219 @@ -1,4 +1,4 @@
220 -# Copyright 1999-2020 Gentoo Authors
221 +# Copyright 1999-2023 Gentoo Authors
222 # Distributed under the terms of the GNU General Public License v2
223
224 EAPI=7
225 @@ -14,7 +14,7 @@ SLOT="0"
226 KEYWORDS="~amd64 ~x86"
227
228 src_configure() {
229 - mycmakeargs=(
230 + local mycmakeargs=(
231 -DTIMEW_DOCDIR=share/doc/${PF}
232 )
233
234
235 diff --git a/app-misc/timew/timew-1.4.3-r1.ebuild b/app-misc/timew/timew-1.4.3-r1.ebuild
236 index f608f1a27396..4561f210ad0d 100644
237 --- a/app-misc/timew/timew-1.4.3-r1.ebuild
238 +++ b/app-misc/timew/timew-1.4.3-r1.ebuild
239 @@ -1,4 +1,4 @@
240 -# Copyright 1999-2022 Gentoo Authors
241 +# Copyright 1999-2023 Gentoo Authors
242 # Distributed under the terms of the GNU General Public License v2
243
244 EAPI=7
245 @@ -14,7 +14,7 @@ SLOT="0"
246 KEYWORDS="~amd64 ~x86"
247
248 src_configure() {
249 - mycmakeargs=(
250 + local mycmakeargs=(
251 -DTIMEW_DOCDIR=share/doc/${PF}
252 )
253
254
255 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
256 index a3246a626c2d..527bb600f9ae 100644
257 --- a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.4.ebuild
258 +++ b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.4.ebuild
259 @@ -1,4 +1,4 @@
260 -# Copyright 1999-2022 Gentoo Authors
261 +# Copyright 1999-2023 Gentoo Authors
262 # Distributed under the terms of the GNU General Public License v2
263
264 EAPI=7
265 @@ -26,7 +26,7 @@ src_prepare() {
266 }
267
268 src_configure() {
269 - local -a mycmakeargs=(
270 + local mycmakeargs=(
271 -DBUILD_DOCUMENTATION=$(usex doc 'ON' 'OFF')
272 -DBUILD_STATICALLY_LINKED_EXE=OFF
273 )
274
275 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
276 index af6a057b5e57..3b07de5cbc46 100644
277 --- a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.5.ebuild
278 +++ b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.5.ebuild
279 @@ -1,4 +1,4 @@
280 -# Copyright 1999-2022 Gentoo Authors
281 +# Copyright 1999-2023 Gentoo Authors
282 # Distributed under the terms of the GNU General Public License v2
283
284 EAPI=8
285 @@ -26,7 +26,7 @@ src_prepare() {
286 }
287
288 src_configure() {
289 - local -a mycmakeargs=(
290 + local mycmakeargs=(
291 -DBUILD_DOCUMENTATION=$(usex doc 'ON' 'OFF')
292 -DBUILD_STATICALLY_LINKED_EXE=OFF
293 )
294
295 diff --git a/dev-cpp/muParser/muParser-2.3.2-r1.ebuild b/dev-cpp/muParser/muParser-2.3.2-r1.ebuild
296 index a7adf4aa3980..9023bc7bc987 100644
297 --- a/dev-cpp/muParser/muParser-2.3.2-r1.ebuild
298 +++ b/dev-cpp/muParser/muParser-2.3.2-r1.ebuild
299 @@ -1,4 +1,4 @@
300 -# Copyright 1999-2022 Gentoo Authors
301 +# Copyright 1999-2023 Gentoo Authors
302 # Distributed under the terms of the GNU General Public License v2
303
304 EAPI=8
305 @@ -19,7 +19,7 @@ RESTRICT="!test? ( test )"
306 PATCHES=( "${FILESDIR}/muParser-2.3-export-cmake.patch" )
307
308 src_configure() {
309 - mycmakeargs=(
310 + local mycmakeargs=(
311 -DENABLE_OPENMP=$(usex openmp)
312 )
313 cmake_src_configure
314
315 diff --git a/dev-cpp/muParser/muParser-2.3.3-r1.ebuild b/dev-cpp/muParser/muParser-2.3.3-r1.ebuild
316 index b5702ad96464..669ac8313f52 100644
317 --- a/dev-cpp/muParser/muParser-2.3.3-r1.ebuild
318 +++ b/dev-cpp/muParser/muParser-2.3.3-r1.ebuild
319 @@ -1,4 +1,4 @@
320 -# Copyright 1999-2022 Gentoo Authors
321 +# Copyright 1999-2023 Gentoo Authors
322 # Distributed under the terms of the GNU General Public License v2
323
324 EAPI=8
325 @@ -21,11 +21,8 @@ RESTRICT="!test? ( test )"
326
327 S="${S}${suffix}"
328
329 -PATCHES=(
330 -)
331 -
332 src_configure() {
333 - mycmakeargs=(
334 + local mycmakeargs=(
335 -DENABLE_OPENMP=$(usex openmp)
336 -DENABLE_WIDE_CHAR=$(usex wchar)
337 )
338 @@ -35,7 +32,3 @@ src_configure() {
339 src_test() {
340 cmake_src_compile test
341 }
342 -
343 -src_install() {
344 - cmake_src_install
345 -}
346
347 diff --git a/dev-cpp/muParser/muParser-2.3.3.ebuild b/dev-cpp/muParser/muParser-2.3.3.ebuild
348 index ab201cd8c983..fc2e66b58f60 100644
349 --- a/dev-cpp/muParser/muParser-2.3.3.ebuild
350 +++ b/dev-cpp/muParser/muParser-2.3.3.ebuild
351 @@ -1,4 +1,4 @@
352 -# Copyright 1999-2022 Gentoo Authors
353 +# Copyright 1999-2023 Gentoo Authors
354 # Distributed under the terms of the GNU General Public License v2
355
356 EAPI=8
357 @@ -21,11 +21,8 @@ RESTRICT="!test? ( test )"
358
359 S="${S}${suffix}"
360
361 -PATCHES=(
362 -)
363 -
364 src_configure() {
365 - mycmakeargs=(
366 + local mycmakeargs=(
367 -DENABLE_OPENMP=$(usex openmp)
368 )
369 cmake_src_configure
370
371 diff --git a/dev-cpp/muParser/muParser-2.3.4.ebuild b/dev-cpp/muParser/muParser-2.3.4.ebuild
372 index 4dd7dfcdf406..d085086ce7f7 100644
373 --- a/dev-cpp/muParser/muParser-2.3.4.ebuild
374 +++ b/dev-cpp/muParser/muParser-2.3.4.ebuild
375 @@ -1,4 +1,4 @@
376 -# Copyright 1999-2022 Gentoo Authors
377 +# Copyright 1999-2023 Gentoo Authors
378 # Distributed under the terms of the GNU General Public License v2
379
380 EAPI=8
381 @@ -16,11 +16,8 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-li
382 IUSE="doc openmp test wchar"
383 RESTRICT="!test? ( test )"
384
385 -PATCHES=(
386 -)
387 -
388 src_configure() {
389 - mycmakeargs=(
390 + local mycmakeargs=(
391 -DENABLE_OPENMP=$(usex openmp)
392 -DENABLE_WIDE_CHAR=$(usex wchar)
393 )
394 @@ -30,7 +27,3 @@ src_configure() {
395 src_test() {
396 cmake_src_compile test
397 }
398 -
399 -src_install() {
400 - cmake_src_install
401 -}
402
403 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
404 index d37e2bfc376f..474f39a0b30e 100644
405 --- a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r2.ebuild
406 +++ b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r2.ebuild
407 @@ -1,4 +1,4 @@
408 -# Copyright 2022 Gentoo Authors
409 +# Copyright 2022-2023 Gentoo Authors
410 # Distributed under the terms of the GNU General Public License v2
411
412 EAPI=8
413 @@ -38,7 +38,7 @@ PATCHES=(
414 )
415
416 src_configure() {
417 - local -a mycmakeargs=(
418 + local mycmakeargs=(
419 -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON
420 -DBUILD_SHARED_LIBS:BOOL=ON
421 -DBUILD_TESTING:BOOL=$(usex test)
422
423 diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.4.0.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.4.0.ebuild
424 index d37e2bfc376f..474f39a0b30e 100644
425 --- a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.4.0.ebuild
426 +++ b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.4.0.ebuild
427 @@ -1,4 +1,4 @@
428 -# Copyright 2022 Gentoo Authors
429 +# Copyright 2022-2023 Gentoo Authors
430 # Distributed under the terms of the GNU General Public License v2
431
432 EAPI=8
433 @@ -38,7 +38,7 @@ PATCHES=(
434 )
435
436 src_configure() {
437 - local -a mycmakeargs=(
438 + local mycmakeargs=(
439 -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON
440 -DBUILD_SHARED_LIBS:BOOL=ON
441 -DBUILD_TESTING:BOOL=$(usex test)
442
443 diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.6.0.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.6.0.ebuild
444 index d007ad4f6418..36b801e978d1 100644
445 --- a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.6.0.ebuild
446 +++ b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.6.0.ebuild
447 @@ -1,4 +1,4 @@
448 -# Copyright 2022 Gentoo Authors
449 +# Copyright 2022-2023 Gentoo Authors
450 # Distributed under the terms of the GNU General Public License v2
451
452 EAPI=8
453 @@ -40,7 +40,7 @@ PATCHES=(
454 )
455
456 src_configure() {
457 - local -a mycmakeargs=(
458 + local mycmakeargs=(
459 -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON
460 -DBUILD_SHARED_LIBS:BOOL=ON
461 -DBUILD_TESTING:BOOL=$(usex test)
462
463 diff --git a/dev-db/mariadb/mariadb-10.3.36.ebuild b/dev-db/mariadb/mariadb-10.3.36.ebuild
464 index 64534e90d5f2..a4cfcfe57f25 100644
465 --- a/dev-db/mariadb/mariadb-10.3.36.ebuild
466 +++ b/dev-db/mariadb/mariadb-10.3.36.ebuild
467 @@ -1,4 +1,4 @@
468 -# Copyright 1999-2022 Gentoo Authors
469 +# Copyright 1999-2023 Gentoo Authors
470 # Distributed under the terms of the GNU General Public License v2
471
472 EAPI="7"
473 @@ -273,7 +273,7 @@ src_configure() {
474 CMAKE_BUILD_TYPE="RelWithDebInfo"
475
476 # debug hack wrt #497532
477 - mycmakeargs=(
478 + local mycmakeargs=(
479 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
480 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
481 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
482
483 diff --git a/dev-db/mariadb/mariadb-10.3.37.ebuild b/dev-db/mariadb/mariadb-10.3.37.ebuild
484 index f83d760a0376..1d555a27916b 100644
485 --- a/dev-db/mariadb/mariadb-10.3.37.ebuild
486 +++ b/dev-db/mariadb/mariadb-10.3.37.ebuild
487 @@ -1,4 +1,4 @@
488 -# Copyright 1999-2022 Gentoo Authors
489 +# Copyright 1999-2023 Gentoo Authors
490 # Distributed under the terms of the GNU General Public License v2
491
492 EAPI="7"
493 @@ -273,7 +273,7 @@ src_configure() {
494 CMAKE_BUILD_TYPE="RelWithDebInfo"
495
496 # debug hack wrt #497532
497 - mycmakeargs=(
498 + local mycmakeargs=(
499 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
500 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
501 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
502
503 diff --git a/dev-db/mariadb/mariadb-10.4.26.ebuild b/dev-db/mariadb/mariadb-10.4.26.ebuild
504 index f91f85b6e73d..26f337d76e62 100644
505 --- a/dev-db/mariadb/mariadb-10.4.26.ebuild
506 +++ b/dev-db/mariadb/mariadb-10.4.26.ebuild
507 @@ -1,4 +1,4 @@
508 -# Copyright 1999-2022 Gentoo Authors
509 +# Copyright 1999-2023 Gentoo Authors
510 # Distributed under the terms of the GNU General Public License v2
511
512 EAPI="7"
513 @@ -287,7 +287,7 @@ src_configure() {
514 CMAKE_BUILD_TYPE="RelWithDebInfo"
515
516 # debug hack wrt #497532
517 - mycmakeargs=(
518 + local mycmakeargs=(
519 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
520 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
521 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
522
523 diff --git a/dev-db/mariadb/mariadb-10.4.27.ebuild b/dev-db/mariadb/mariadb-10.4.27.ebuild
524 index 026feb6be378..5a6a7022f831 100644
525 --- a/dev-db/mariadb/mariadb-10.4.27.ebuild
526 +++ b/dev-db/mariadb/mariadb-10.4.27.ebuild
527 @@ -1,4 +1,4 @@
528 -# Copyright 1999-2022 Gentoo Authors
529 +# Copyright 1999-2023 Gentoo Authors
530 # Distributed under the terms of the GNU General Public License v2
531
532 EAPI="7"
533 @@ -287,7 +287,7 @@ src_configure() {
534 CMAKE_BUILD_TYPE="RelWithDebInfo"
535
536 # debug hack wrt #497532
537 - mycmakeargs=(
538 + local mycmakeargs=(
539 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
540 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
541 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
542
543 diff --git a/dev-db/mariadb/mariadb-10.5.17.ebuild b/dev-db/mariadb/mariadb-10.5.17.ebuild
544 index d870a1d1d3ae..384feb3be774 100644
545 --- a/dev-db/mariadb/mariadb-10.5.17.ebuild
546 +++ b/dev-db/mariadb/mariadb-10.5.17.ebuild
547 @@ -1,4 +1,4 @@
548 -# Copyright 1999-2022 Gentoo Authors
549 +# Copyright 1999-2023 Gentoo Authors
550 # Distributed under the terms of the GNU General Public License v2
551
552 EAPI="7"
553 @@ -290,7 +290,7 @@ src_configure() {
554 CMAKE_BUILD_TYPE="RelWithDebInfo"
555
556 # debug hack wrt #497532
557 - mycmakeargs=(
558 + local mycmakeargs=(
559 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
560 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
561 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
562
563 diff --git a/dev-db/mariadb/mariadb-10.5.18.ebuild b/dev-db/mariadb/mariadb-10.5.18.ebuild
564 index ce89a1bb7288..f939e9ffdea9 100644
565 --- a/dev-db/mariadb/mariadb-10.5.18.ebuild
566 +++ b/dev-db/mariadb/mariadb-10.5.18.ebuild
567 @@ -1,4 +1,4 @@
568 -# Copyright 1999-2022 Gentoo Authors
569 +# Copyright 1999-2023 Gentoo Authors
570 # Distributed under the terms of the GNU General Public License v2
571
572 EAPI="7"
573 @@ -290,7 +290,7 @@ src_configure() {
574 CMAKE_BUILD_TYPE="RelWithDebInfo"
575
576 # debug hack wrt #497532
577 - mycmakeargs=(
578 + local mycmakeargs=(
579 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
580 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
581 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
582
583 diff --git a/dev-db/mariadb/mariadb-10.6.10.ebuild b/dev-db/mariadb/mariadb-10.6.10.ebuild
584 index ce9a6a6f7e30..a67cb52a4a5e 100644
585 --- a/dev-db/mariadb/mariadb-10.6.10.ebuild
586 +++ b/dev-db/mariadb/mariadb-10.6.10.ebuild
587 @@ -1,4 +1,4 @@
588 -# Copyright 1999-2022 Gentoo Authors
589 +# Copyright 1999-2023 Gentoo Authors
590 # Distributed under the terms of the GNU General Public License v2
591
592 EAPI="7"
593 @@ -290,7 +290,7 @@ src_configure() {
594 CMAKE_BUILD_TYPE="RelWithDebInfo"
595
596 # debug hack wrt #497532
597 - mycmakeargs=(
598 + local mycmakeargs=(
599 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
600 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
601 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
602
603 diff --git a/dev-db/mariadb/mariadb-10.6.11.ebuild b/dev-db/mariadb/mariadb-10.6.11.ebuild
604 index d495a241e226..31285154561e 100644
605 --- a/dev-db/mariadb/mariadb-10.6.11.ebuild
606 +++ b/dev-db/mariadb/mariadb-10.6.11.ebuild
607 @@ -1,4 +1,4 @@
608 -# Copyright 1999-2022 Gentoo Authors
609 +# Copyright 1999-2023 Gentoo Authors
610 # Distributed under the terms of the GNU General Public License v2
611
612 EAPI="7"
613 @@ -291,7 +291,7 @@ src_configure() {
614 CMAKE_BUILD_TYPE="RelWithDebInfo"
615
616 # debug hack wrt #497532
617 - mycmakeargs=(
618 + local mycmakeargs=(
619 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
620 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
621 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
622
623 diff --git a/dev-db/mysql/mysql-5.7.36-r1.ebuild b/dev-db/mysql/mysql-5.7.36-r1.ebuild
624 index 482b873a518e..4679a6ef6089 100644
625 --- a/dev-db/mysql/mysql-5.7.36-r1.ebuild
626 +++ b/dev-db/mysql/mysql-5.7.36-r1.ebuild
627 @@ -1,4 +1,4 @@
628 -# Copyright 1999-2022 Gentoo Authors
629 +# Copyright 1999-2023 Gentoo Authors
630 # Distributed under the terms of the GNU General Public License v2
631
632 EAPI="7"
633 @@ -290,7 +290,7 @@ multilib_src_configure() {
634 CMAKE_BUILD_TYPE="RelWithDebInfo"
635
636 # debug hack wrt #497532
637 - mycmakeargs=(
638 + local mycmakeargs=(
639 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
640 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
641 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
642
643 diff --git a/dev-db/mysql/mysql-5.7.40.ebuild b/dev-db/mysql/mysql-5.7.40.ebuild
644 index e22e7215d2bc..19f47c417c89 100644
645 --- a/dev-db/mysql/mysql-5.7.40.ebuild
646 +++ b/dev-db/mysql/mysql-5.7.40.ebuild
647 @@ -289,7 +289,7 @@ multilib_src_configure() {
648 CMAKE_BUILD_TYPE="RelWithDebInfo"
649
650 # debug hack wrt #497532
651 - mycmakeargs=(
652 + local mycmakeargs=(
653 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
654 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
655 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
656
657 diff --git a/dev-db/mysql/mysql-8.0.27.ebuild b/dev-db/mysql/mysql-8.0.27.ebuild
658 index 0a2cedce470c..87825505d12d 100644
659 --- a/dev-db/mysql/mysql-8.0.27.ebuild
660 +++ b/dev-db/mysql/mysql-8.0.27.ebuild
661 @@ -1,4 +1,4 @@
662 -# Copyright 1999-2022 Gentoo Authors
663 +# Copyright 1999-2023 Gentoo Authors
664 # Distributed under the terms of the GNU General Public License v2
665
666 EAPI="8"
667 @@ -202,7 +202,7 @@ src_configure() {
668 CMAKE_BUILD_TYPE="RelWithDebInfo"
669
670 # debug hack wrt #497532
671 - mycmakeargs=(
672 + local mycmakeargs=(
673 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
674 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
675 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
676
677 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
678 index 47b4afb78e18..1d61ecef9370 100644
679 --- a/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
680 +++ b/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
681 @@ -1,4 +1,4 @@
682 -# Copyright 1999-2022 Gentoo Authors
683 +# Copyright 1999-2023 Gentoo Authors
684 # Distributed under the terms of the GNU General Public License v2
685
686 EAPI="7"
687 @@ -221,7 +221,7 @@ src_configure() {
688 CMAKE_BUILD_TYPE="RelWithDebInfo"
689
690 # debug hack wrt #497532
691 - mycmakeargs=(
692 + local mycmakeargs=(
693 -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
694 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug '' '-DNDEBUG')"
695 -DMYSQL_DATADIR="${EPREFIX}/var/lib/mysql"
696
697 diff --git a/dev-libs/asmjit/asmjit-2021.11.13.ebuild b/dev-libs/asmjit/asmjit-2021.11.13.ebuild
698 index 27da2e68b8b3..95281b54c698 100644
699 --- a/dev-libs/asmjit/asmjit-2021.11.13.ebuild
700 +++ b/dev-libs/asmjit/asmjit-2021.11.13.ebuild
701 @@ -1,4 +1,4 @@
702 -# Copyright 2022 Gentoo Authors
703 +# Copyright 2022-2023 Gentoo Authors
704 # Distributed under the terms of the GNU General Public License v2
705
706 EAPI=8
707 @@ -27,7 +27,7 @@ PATCHES=(
708 )
709
710 src_configure() {
711 - mycmakeargs=(
712 + local mycmakeargs=(
713 -DASMJIT_TEST=$(usex test TRUE FALSE)
714 )
715 cmake_src_configure
716
717 diff --git a/dev-libs/asmjit/asmjit-2022.07.02.ebuild b/dev-libs/asmjit/asmjit-2022.07.02.ebuild
718 index 909111795e67..a436e9b2a3f1 100644
719 --- a/dev-libs/asmjit/asmjit-2022.07.02.ebuild
720 +++ b/dev-libs/asmjit/asmjit-2022.07.02.ebuild
721 @@ -1,4 +1,4 @@
722 -# Copyright 2022 Gentoo Authors
723 +# Copyright 2022-2023 Gentoo Authors
724 # Distributed under the terms of the GNU General Public License v2
725
726 EAPI=8
727 @@ -23,7 +23,7 @@ RESTRICT="!test? ( test )"
728 S="${WORKDIR}"/${PN}-${CommitId}
729
730 src_configure() {
731 - mycmakeargs=(
732 + local mycmakeargs=(
733 -DASMJIT_TEST=$(usex test)
734 )
735 cmake_src_configure
736
737 diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild b/dev-libs/libcbor/libcbor-0.9.0.ebuild
738 index 9d2172da0ce8..44cb6de4d07c 100644
739 --- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
740 +++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
741 @@ -1,4 +1,4 @@
742 -# Copyright 2020-2022 Gentoo Authors
743 +# Copyright 2020-2023 Gentoo Authors
744 # Distributed under the terms of the GNU General Public License v2
745
746 EAPI=7
747 @@ -40,7 +40,7 @@ pkg_setup() {
748 }
749
750 src_configure() {
751 - local -a mycmakeargs=(
752 + local mycmakeargs=(
753 -DCMAKE_BUILD_TYPE=Release
754 -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
755 -DWITH_TESTS=$(usex test 'ON' 'OFF')
756
757 diff --git a/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild
758 index d840aa57f738..2a564652addf 100644
759 --- a/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild
760 +++ b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild
761 @@ -1,9 +1,9 @@
762 -# Copyright 1999-2020 Gentoo Authors
763 +# Copyright 1999-2023 Gentoo Authors
764 # Distributed under the terms of the GNU General Public License v2
765
766 EAPI=7
767
768 -inherit cmake xdg
769 +inherit xdg cmake
770
771 DESCRIPTION="Provides functionality for gaming input devices"
772
773 @@ -39,30 +39,9 @@ PATCHES=(
774 "${FILESDIR}"/${P}-cmake-3.13.patch
775 )
776
777 -# Required because xdg.eclass overrides src_prepare() from cmake.eclass
778 -src_prepare() {
779 - cmake_src_prepare
780 -}
781 -
782 src_configure() {
783 - mycmakeargs=(
784 + local mycmakeargs=(
785 -DWITH_DOC="$(usex doc)"
786 )
787 cmake_src_configure
788 }
789 -
790 -src_install() {
791 - cmake_src_install
792 -}
793 -
794 -pkg_preinst() {
795 - xdg_pkg_preinst
796 -}
797 -
798 -pkg_postinst() {
799 - xdg_pkg_postinst
800 -}
801 -
802 -pkg_postrm() {
803 - xdg_pkg_postrm
804 -}
805
806 diff --git a/dev-libs/rocksdb/rocksdb-6.14.6-r1.ebuild b/dev-libs/rocksdb/rocksdb-6.14.6-r1.ebuild
807 index 3ec9e9aee852..aff46d621617 100644
808 --- a/dev-libs/rocksdb/rocksdb-6.14.6-r1.ebuild
809 +++ b/dev-libs/rocksdb/rocksdb-6.14.6-r1.ebuild
810 @@ -1,4 +1,4 @@
811 -# Copyright 2020-2022 Gentoo Authors
812 +# Copyright 2020-2023 Gentoo Authors
813 # Distributed under the terms of the GNU General Public License v2
814
815 EAPI=7
816 @@ -30,7 +30,7 @@ PATCHES=(
817 )
818
819 src_configure() {
820 - mycmakeargs=(
821 + local mycmakeargs=(
822 -DFAIL_ON_WARNINGS=OFF
823 -DFORCE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF)
824 -DFORCE_AVX=$(usex cpu_flags_x86_avx ON OFF)
825
826 diff --git a/dev-libs/rocksdb/rocksdb-6.15.5.ebuild b/dev-libs/rocksdb/rocksdb-6.15.5.ebuild
827 index cb835069c451..adeb2e8a46e8 100644
828 --- a/dev-libs/rocksdb/rocksdb-6.15.5.ebuild
829 +++ b/dev-libs/rocksdb/rocksdb-6.15.5.ebuild
830 @@ -1,4 +1,4 @@
831 -# Copyright 2020-2022 Gentoo Authors
832 +# Copyright 2020-2023 Gentoo Authors
833 # Distributed under the terms of the GNU General Public License v2
834
835 EAPI=7
836 @@ -30,7 +30,7 @@ PATCHES=(
837 )
838
839 src_configure() {
840 - mycmakeargs=(
841 + local mycmakeargs=(
842 -DFAIL_ON_WARNINGS=OFF
843 -DFORCE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF)
844 -DFORCE_AVX=$(usex cpu_flags_x86_avx ON OFF)
845
846 diff --git a/dev-libs/rocksdb/rocksdb-6.17.3.ebuild b/dev-libs/rocksdb/rocksdb-6.17.3.ebuild
847 index ce510723b0dd..8da4d0066c99 100644
848 --- a/dev-libs/rocksdb/rocksdb-6.17.3.ebuild
849 +++ b/dev-libs/rocksdb/rocksdb-6.17.3.ebuild
850 @@ -1,4 +1,4 @@
851 -# Copyright 2020-2022 Gentoo Authors
852 +# Copyright 2020-2023 Gentoo Authors
853 # Distributed under the terms of the GNU General Public License v2
854
855 EAPI=7
856 @@ -31,7 +31,7 @@ PATCHES=(
857 )
858
859 src_configure() {
860 - mycmakeargs=(
861 + local mycmakeargs=(
862 -DFAIL_ON_WARNINGS=OFF
863 -DFORCE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF)
864 -DFORCE_AVX=$(usex cpu_flags_x86_avx ON OFF)
865
866 diff --git a/dev-libs/simdjson/simdjson-1.0.2.ebuild b/dev-libs/simdjson/simdjson-1.0.2.ebuild
867 index 71e7e89153e9..e4fbf9055959 100644
868 --- a/dev-libs/simdjson/simdjson-1.0.2.ebuild
869 +++ b/dev-libs/simdjson/simdjson-1.0.2.ebuild
870 @@ -1,4 +1,4 @@
871 -# Copyright 2020-2022 Gentoo Authors
872 +# Copyright 2020-2023 Gentoo Authors
873 # Distributed under the terms of the GNU General Public License v2
874
875 EAPI=7
876 @@ -60,7 +60,7 @@ src_prepare() {
877 }
878
879 src_configure() {
880 - local -a mycmakeargs=(
881 + local mycmakeargs=(
882 -DSIMDJSON_ENABLE_THREADS=ON
883 )
884 use test && mycmakeargs+=(
885
886 diff --git a/dev-libs/simdjson/simdjson-1.1.0.ebuild b/dev-libs/simdjson/simdjson-1.1.0.ebuild
887 index 6f9106ac1e38..65bd48189585 100644
888 --- a/dev-libs/simdjson/simdjson-1.1.0.ebuild
889 +++ b/dev-libs/simdjson/simdjson-1.1.0.ebuild
890 @@ -1,4 +1,4 @@
891 -# Copyright 2020-2022 Gentoo Authors
892 +# Copyright 2020-2023 Gentoo Authors
893 # Distributed under the terms of the GNU General Public License v2
894
895 EAPI=8
896 @@ -60,7 +60,7 @@ src_prepare() {
897 }
898
899 src_configure() {
900 - local -a mycmakeargs=(
901 + local mycmakeargs=(
902 -DSIMDJSON_ENABLE_THREADS=ON
903 )
904 use test && mycmakeargs+=(
905
906 diff --git a/dev-libs/simdjson/simdjson-2.0.4.ebuild b/dev-libs/simdjson/simdjson-2.0.4.ebuild
907 index b8e15288e648..e10cd8aa1dc0 100644
908 --- a/dev-libs/simdjson/simdjson-2.0.4.ebuild
909 +++ b/dev-libs/simdjson/simdjson-2.0.4.ebuild
910 @@ -1,4 +1,4 @@
911 -# Copyright 2020-2022 Gentoo Authors
912 +# Copyright 2020-2023 Gentoo Authors
913 # Distributed under the terms of the GNU General Public License v2
914
915 EAPI=8
916 @@ -60,7 +60,7 @@ src_prepare() {
917 }
918
919 src_configure() {
920 - local -a mycmakeargs=(
921 + local mycmakeargs=(
922 -DSIMDJSON_ENABLE_THREADS=ON
923 )
924 use test && mycmakeargs+=(
925
926 diff --git a/dev-libs/simdjson/simdjson-2.1.0-r1.ebuild b/dev-libs/simdjson/simdjson-2.1.0-r1.ebuild
927 index 55fc98496a4e..a0cc3eba3666 100644
928 --- a/dev-libs/simdjson/simdjson-2.1.0-r1.ebuild
929 +++ b/dev-libs/simdjson/simdjson-2.1.0-r1.ebuild
930 @@ -1,4 +1,4 @@
931 -# Copyright 2020-2022 Gentoo Authors
932 +# Copyright 2020-2023 Gentoo Authors
933 # Distributed under the terms of the GNU General Public License v2
934
935 EAPI=8
936 @@ -60,7 +60,7 @@ src_prepare() {
937 }
938
939 src_configure() {
940 - local -a mycmakeargs=(
941 + local mycmakeargs=(
942 -DSIMDJSON_ENABLE_THREADS=ON
943 )
944 use test && mycmakeargs+=(
945
946 diff --git a/dev-libs/simdjson/simdjson-2.2.2.ebuild b/dev-libs/simdjson/simdjson-2.2.2.ebuild
947 index 976892c2f0c0..39d05eeab9e9 100644
948 --- a/dev-libs/simdjson/simdjson-2.2.2.ebuild
949 +++ b/dev-libs/simdjson/simdjson-2.2.2.ebuild
950 @@ -1,4 +1,4 @@
951 -# Copyright 2020-2022 Gentoo Authors
952 +# Copyright 2020-2023 Gentoo Authors
953 # Distributed under the terms of the GNU General Public License v2
954
955 EAPI=8
956 @@ -61,7 +61,7 @@ src_prepare() {
957 }
958
959 src_configure() {
960 - local -a mycmakeargs=(
961 + local mycmakeargs=(
962 -DSIMDJSON_ENABLE_THREADS=ON
963 )
964 use test && mycmakeargs+=(
965
966 diff --git a/dev-libs/simdjson/simdjson-3.0.0.ebuild b/dev-libs/simdjson/simdjson-3.0.0.ebuild
967 index cac6dd3f9eba..96531492db42 100644
968 --- a/dev-libs/simdjson/simdjson-3.0.0.ebuild
969 +++ b/dev-libs/simdjson/simdjson-3.0.0.ebuild
970 @@ -1,4 +1,4 @@
971 -# Copyright 2020-2022 Gentoo Authors
972 +# Copyright 2020-2023 Gentoo Authors
973 # Distributed under the terms of the GNU General Public License v2
974
975 EAPI=8
976 @@ -62,7 +62,7 @@ src_prepare() {
977 }
978
979 src_configure() {
980 - local -a mycmakeargs=(
981 + local mycmakeargs=(
982 -DSIMDJSON_ENABLE_THREADS=ON
983 )
984 use test && mycmakeargs+=(
985
986 diff --git a/dev-libs/thrift/thrift-0.16.0-r1.ebuild b/dev-libs/thrift/thrift-0.16.0-r1.ebuild
987 index d4db37319da1..22f3fc9e88b4 100644
988 --- a/dev-libs/thrift/thrift-0.16.0-r1.ebuild
989 +++ b/dev-libs/thrift/thrift-0.16.0-r1.ebuild
990 @@ -1,4 +1,4 @@
991 -# Copyright 2022 Gentoo Authors
992 +# Copyright 2022-2023 Gentoo Authors
993 # Distributed under the terms of the GNU General Public License v2
994
995 EAPI=8
996 @@ -33,7 +33,7 @@ PATCHES=(
997 )
998
999 src_configure() {
1000 - local -a mycmakeargs=(
1001 + local mycmakeargs=(
1002 -DBUILD_CPP=ON
1003 -DBUILD_C_GLIB=OFF
1004 -DBUILD_JAVA=OFF
1005
1006 diff --git a/dev-util/bcc/bcc-0.25.0.ebuild b/dev-util/bcc/bcc-0.25.0.ebuild
1007 index 3587e236d298..f4e7887f0085 100644
1008 --- a/dev-util/bcc/bcc-0.25.0.ebuild
1009 +++ b/dev-util/bcc/bcc-0.25.0.ebuild
1010 @@ -1,4 +1,4 @@
1011 -# Copyright 1999-2022 Gentoo Authors
1012 +# Copyright 1999-2023 Gentoo Authors
1013 # Distributed under the terms of the GNU General Public License v2
1014
1015 EAPI=8
1016 @@ -94,7 +94,7 @@ src_configure() {
1017 local bcc_python_impls
1018 python_foreach_impl python_add_impl
1019
1020 - local -a mycmakeargs=(
1021 + local mycmakeargs=(
1022 -DREVISION=${PV%%_*}
1023 -DENABLE_LLVM_SHARED=ON
1024 -DCMAKE_USE_LIBBPF_PACKAGE=ON
1025
1026 diff --git a/dev-util/bpftrace/bpftrace-0.15.0-r2.ebuild b/dev-util/bpftrace/bpftrace-0.15.0-r2.ebuild
1027 index b4161428fb8c..f0998d9f30ca 100644
1028 --- a/dev-util/bpftrace/bpftrace-0.15.0-r2.ebuild
1029 +++ b/dev-util/bpftrace/bpftrace-0.15.0-r2.ebuild
1030 @@ -1,4 +1,4 @@
1031 -# Copyright 2019-2022 Gentoo Authors
1032 +# Copyright 2019-2023 Gentoo Authors
1033 # Distributed under the terms of the GNU General Public License v2
1034
1035 EAPI=7
1036 @@ -74,7 +74,7 @@ pkg_setup() {
1037 }
1038
1039 src_configure() {
1040 - local -a mycmakeargs=(
1041 + local mycmakeargs=(
1042 -DSTATIC_LINKING:BOOL=OFF
1043 # bug 809362, 754648
1044 -DBUILD_SHARED_LIBS:=OFF
1045
1046 diff --git a/dev-util/bpftrace/bpftrace-0.16.0.ebuild b/dev-util/bpftrace/bpftrace-0.16.0.ebuild
1047 index f93bf5ae5f47..50e8366f23c0 100644
1048 --- a/dev-util/bpftrace/bpftrace-0.16.0.ebuild
1049 +++ b/dev-util/bpftrace/bpftrace-0.16.0.ebuild
1050 @@ -1,4 +1,4 @@
1051 -# Copyright 2019-2022 Gentoo Authors
1052 +# Copyright 2019-2023 Gentoo Authors
1053 # Distributed under the terms of the GNU General Public License v2
1054
1055 EAPI=8
1056 @@ -74,7 +74,7 @@ pkg_setup() {
1057 }
1058
1059 src_configure() {
1060 - local -a mycmakeargs=(
1061 + local mycmakeargs=(
1062 -DSTATIC_LINKING:BOOL=OFF
1063 # bug 809362, 754648
1064 -DBUILD_TESTING:BOOL=$(usex test)
1065
1066 diff --git a/games-strategy/wesnoth/wesnoth-1.16.6.ebuild b/games-strategy/wesnoth/wesnoth-1.16.6.ebuild
1067 index 1a92e4f2d992..f8edac88d9d7 100644
1068 --- a/games-strategy/wesnoth/wesnoth-1.16.6.ebuild
1069 +++ b/games-strategy/wesnoth/wesnoth-1.16.6.ebuild
1070 @@ -1,4 +1,4 @@
1071 -# Copyright 1999-2022 Gentoo Authors
1072 +# Copyright 1999-2023 Gentoo Authors
1073 # Distributed under the terms of the GNU General Public License v2
1074
1075 EAPI=8
1076 @@ -67,8 +67,10 @@ src_prepare() {
1077 src_configure() {
1078 filter-flags -ftracer -fomit-frame-pointer
1079
1080 + local mycmakeargs=()
1081 +
1082 if use dedicated || use server ; then
1083 - mycmakeargs=(
1084 + mycmakeargs+=(
1085 -DENABLE_CAMPAIGN_SERVER="ON"
1086 -DENABLE_SERVER="ON"
1087 -DSERVER_UID="${PN}"
1088 @@ -76,7 +78,7 @@ src_configure() {
1089 -DFIFO_DIR="/run/wesnothd"
1090 )
1091 else
1092 - mycmakeargs=(
1093 + mycmakeargs+=(
1094 -DENABLE_CAMPAIGN_SERVER="OFF"
1095 -DENABLE_SERVER="OFF"
1096 )
1097
1098 diff --git a/games-strategy/wesnoth/wesnoth-1.17.11.ebuild b/games-strategy/wesnoth/wesnoth-1.17.11.ebuild
1099 index 5724bdef29fa..834aa1c3259c 100644
1100 --- a/games-strategy/wesnoth/wesnoth-1.17.11.ebuild
1101 +++ b/games-strategy/wesnoth/wesnoth-1.17.11.ebuild
1102 @@ -1,4 +1,4 @@
1103 -# Copyright 1999-2022 Gentoo Authors
1104 +# Copyright 1999-2023 Gentoo Authors
1105 # Distributed under the terms of the GNU General Public License v2
1106
1107 EAPI=8
1108 @@ -65,8 +65,10 @@ src_prepare() {
1109 src_configure() {
1110 filter-flags -ftracer -fomit-frame-pointer
1111
1112 + local mycmakeargs=()
1113 +
1114 if use dedicated || use server ; then
1115 - mycmakeargs=(
1116 + mycmakeargs+=(
1117 -DENABLE_CAMPAIGN_SERVER="ON"
1118 -DENABLE_SERVER="ON"
1119 -DSERVER_UID="${PN}"
1120 @@ -74,7 +76,7 @@ src_configure() {
1121 -DFIFO_DIR="/run/wesnothd"
1122 )
1123 else
1124 - mycmakeargs=(
1125 + mycmakeargs+=(
1126 -DENABLE_CAMPAIGN_SERVER="OFF"
1127 -DENABLE_SERVER="OFF"
1128 )
1129
1130 diff --git a/media-gfx/gmic/gmic-3.0.1-r3.ebuild b/media-gfx/gmic/gmic-3.0.1-r3.ebuild
1131 index a595598fb299..bb07cf674b67 100644
1132 --- a/media-gfx/gmic/gmic-3.0.1-r3.ebuild
1133 +++ b/media-gfx/gmic/gmic-3.0.1-r3.ebuild
1134 @@ -1,4 +1,4 @@
1135 -# Copyright 1999-2022 Gentoo Authors
1136 +# Copyright 1999-2023 Gentoo Authors
1137 # Distributed under the terms of the GNU General Public License v2
1138
1139 EAPI=8
1140 @@ -118,7 +118,7 @@ src_configure() {
1141
1142 # configure gmic-qt frontends
1143 local CMAKE_USE_DIR="${S}/gmic-qt"
1144 - mycmakeargs=(
1145 + local mycmakeargs=(
1146 -DENABLE_DYNAMIC_LINKING=ON
1147 -DENABLE_CURL=$(usex curl)
1148 -DGMIC_LIB_PATH="${BUILD_DIR}"
1149
1150 diff --git a/media-libs/ctl/ctl-1.5.2-r4.ebuild b/media-libs/ctl/ctl-1.5.2-r4.ebuild
1151 index a63570fa6617..0276777c0657 100644
1152 --- a/media-libs/ctl/ctl-1.5.2-r4.ebuild
1153 +++ b/media-libs/ctl/ctl-1.5.2-r4.ebuild
1154 @@ -1,4 +1,4 @@
1155 -# Copyright 1999-2022 Gentoo Authors
1156 +# Copyright 1999-2023 Gentoo Authors
1157 # Distributed under the terms of the GNU General Public License v2
1158
1159 EAPI=7
1160 @@ -32,8 +32,6 @@ PATCHES=(
1161 "${FILESDIR}/${P}-fix-unit-tests.patch"
1162 )
1163
1164 -mycmakeargs=( -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" )
1165 -
1166 src_test() {
1167 pushd "${BUILD_DIR}" >/dev/null || die
1168 eninja check
1169
1170 diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild
1171 index 112896ef1dde..b4ce5bc37dc1 100644
1172 --- a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild
1173 +++ b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild
1174 @@ -1,4 +1,4 @@
1175 -# Copyright 1999-2022 Gentoo Authors
1176 +# Copyright 1999-2023 Gentoo Authors
1177 # Distributed under the terms of the GNU General Public License v2
1178
1179 EAPI=7
1180 @@ -57,7 +57,7 @@ src_prepare() {
1181 src_configure() {
1182 append-ldflags $(no-as-needed)
1183
1184 - mycmakeargs=(
1185 + local mycmakeargs=(
1186 -DVMCS_INSTALL_PREFIX="${EPREFIX}/usr"
1187 -DARM64=$(usex arm64)
1188 )
1189
1190 diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
1191 index f05820d71ac0..b7827907a660 100644
1192 --- a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
1193 +++ b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
1194 @@ -1,4 +1,4 @@
1195 -# Copyright 1999-2022 Gentoo Authors
1196 +# Copyright 1999-2023 Gentoo Authors
1197 # Distributed under the terms of the GNU General Public License v2
1198
1199 EAPI=7
1200 @@ -57,7 +57,7 @@ src_prepare() {
1201 src_configure() {
1202 append-ldflags $(no-as-needed)
1203
1204 - mycmakeargs=(
1205 + local mycmakeargs=(
1206 -DVMCS_INSTALL_PREFIX="${EPREFIX}/usr"
1207 -DARM64=$(usex arm64)
1208 )
1209
1210 diff --git a/media-libs/rtmidi/rtmidi-5.0.0.ebuild b/media-libs/rtmidi/rtmidi-5.0.0.ebuild
1211 index 1689276e2d89..b7bef58e8518 100644
1212 --- a/media-libs/rtmidi/rtmidi-5.0.0.ebuild
1213 +++ b/media-libs/rtmidi/rtmidi-5.0.0.ebuild
1214 @@ -1,4 +1,4 @@
1215 -# Copyright 1999-2022 Gentoo Authors
1216 +# Copyright 1999-2023 Gentoo Authors
1217 # Distributed under the terms of the GNU General Public License v2
1218
1219 EAPI=8
1220 @@ -21,7 +21,7 @@ DEPEND="
1221 RDEPEND="${DEPEND}"
1222
1223 src_configure() {
1224 - mycmakeargs=(
1225 + local mycmakeargs=(
1226 -DRTMIDI_API_ALSA=$(usex alsa)
1227 -DRTMIDI_API_JACK=$(usex jack)
1228 )
1229
1230 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
1231 index 4b4f0cc3d8fb..41cb4b07deae 100644
1232 --- a/media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012-r2.ebuild
1233 +++ b/media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012-r2.ebuild
1234 @@ -1,4 +1,4 @@
1235 -# Copyright 2020 Gentoo Authors
1236 +# Copyright 2020-2023 Gentoo Authors
1237 # Distributed under the terms of the GNU General Public License v2
1238
1239 EAPI=7
1240 @@ -36,7 +36,7 @@ src_prepare() {
1241 }
1242
1243 src_configure() {
1244 - mycmakeargs=(
1245 + local mycmakeargs=(
1246 -DLIBOBS_INCLUDE_DIR="/usr/include/obs/"
1247 )
1248 cmake_src_configure
1249
1250 diff --git a/net-wireless/bladerf/bladerf-2021.03.ebuild b/net-wireless/bladerf/bladerf-2021.03.ebuild
1251 index ca6c57bdf3d4..d2060e9155f5 100644
1252 --- a/net-wireless/bladerf/bladerf-2021.03.ebuild
1253 +++ b/net-wireless/bladerf/bladerf-2021.03.ebuild
1254 @@ -1,4 +1,4 @@
1255 -# Copyright 1999-2022 Gentoo Authors
1256 +# Copyright 1999-2023 Gentoo Authors
1257 # Distributed under the terms of the GNU General Public License v2
1258
1259 EAPI=7
1260 @@ -50,7 +50,7 @@ src_unpack() {
1261 }
1262
1263 src_configure() {
1264 - mycmakeargs=(
1265 + local mycmakeargs=(
1266 -DVERSION_INFO_OVERRIDE:STRING="${PV}"
1267 -DBUILD_DOCUMENTATION="$(usex doc)"
1268 -DENABLE_LIBTECLA="$(usex tecla)"
1269
1270 diff --git a/net-wireless/bladerf/bladerf-9999.ebuild b/net-wireless/bladerf/bladerf-9999.ebuild
1271 index 09bf7b568186..e491fa669c2f 100644
1272 --- a/net-wireless/bladerf/bladerf-9999.ebuild
1273 +++ b/net-wireless/bladerf/bladerf-9999.ebuild
1274 @@ -1,4 +1,4 @@
1275 -# Copyright 1999-2021 Gentoo Authors
1276 +# Copyright 1999-2023 Gentoo Authors
1277 # Distributed under the terms of the GNU General Public License v2
1278
1279 EAPI=7
1280 @@ -50,7 +50,7 @@ src_unpack() {
1281 }
1282
1283 src_configure() {
1284 - mycmakeargs=(
1285 + local mycmakeargs=(
1286 -DVERSION_INFO_OVERRIDE:STRING="${PV}"
1287 -DBUILD_DOCUMENTATION="$(usex doc)"
1288 -DENABLE_LIBTECLA="$(usex tecla)"
1289
1290 diff --git a/net-wireless/gnuradio/gnuradio-3.10.4.0-r1.ebuild b/net-wireless/gnuradio/gnuradio-3.10.4.0-r1.ebuild
1291 index b0c65e418699..ad94f3bac3cd 100644
1292 --- a/net-wireless/gnuradio/gnuradio-3.10.4.0-r1.ebuild
1293 +++ b/net-wireless/gnuradio/gnuradio-3.10.4.0-r1.ebuild
1294 @@ -1,4 +1,4 @@
1295 -# Copyright 1999-2022 Gentoo Authors
1296 +# Copyright 1999-2023 Gentoo Authors
1297 # Distributed under the terms of the GNU General Public License v2
1298
1299 EAPI=8
1300 @@ -148,7 +148,7 @@ src_prepare() {
1301 }
1302
1303 src_configure() {
1304 - mycmakeargs=(
1305 + local mycmakeargs=(
1306 -DENABLE_DEFAULT=OFF
1307 -DENABLE_GNURADIO_RUNTIME=ON
1308 -DENABLE_PYTHON=ON
1309
1310 diff --git a/net-wireless/gnuradio/gnuradio-3.10.5.0-r2.ebuild b/net-wireless/gnuradio/gnuradio-3.10.5.0-r2.ebuild
1311 index e0ee70323331..7ab262e863ee 100644
1312 --- a/net-wireless/gnuradio/gnuradio-3.10.5.0-r2.ebuild
1313 +++ b/net-wireless/gnuradio/gnuradio-3.10.5.0-r2.ebuild
1314 @@ -1,4 +1,4 @@
1315 -# Copyright 1999-2022 Gentoo Authors
1316 +# Copyright 1999-2023 Gentoo Authors
1317 # Distributed under the terms of the GNU General Public License v2
1318
1319 EAPI=8
1320 @@ -147,7 +147,7 @@ src_prepare() {
1321 }
1322
1323 src_configure() {
1324 - mycmakeargs=(
1325 + local mycmakeargs=(
1326 -DENABLE_DEFAULT=OFF
1327 -DENABLE_GNURADIO_RUNTIME=ON
1328 -DENABLE_PYTHON=ON
1329
1330 diff --git a/net-wireless/gnuradio/gnuradio-9999.ebuild b/net-wireless/gnuradio/gnuradio-9999.ebuild
1331 index 807c1bcd6083..579dc7351b6c 100644
1332 --- a/net-wireless/gnuradio/gnuradio-9999.ebuild
1333 +++ b/net-wireless/gnuradio/gnuradio-9999.ebuild
1334 @@ -1,4 +1,4 @@
1335 -# Copyright 1999-2022 Gentoo Authors
1336 +# Copyright 1999-2023 Gentoo Authors
1337 # Distributed under the terms of the GNU General Public License v2
1338
1339 EAPI=8
1340 @@ -143,7 +143,7 @@ src_prepare() {
1341 }
1342
1343 src_configure() {
1344 - mycmakeargs=(
1345 + local mycmakeargs=(
1346 -DENABLE_DEFAULT=OFF
1347 -DENABLE_GNURADIO_RUNTIME=ON
1348 -DENABLE_PYTHON=ON
1349
1350 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
1351 index f01fbb7f7914..9c5a936cbc26 100644
1352 --- a/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild
1353 +++ b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild
1354 @@ -1,4 +1,4 @@
1355 -# Copyright 1999-2022 Gentoo Authors
1356 +# Copyright 1999-2023 Gentoo Authors
1357 # Distributed under the terms of the GNU General Public License v2
1358
1359 EAPI=8
1360 @@ -47,7 +47,7 @@ src_prepare() {
1361 }
1362
1363 src_configure() {
1364 - mycmakeargs=(
1365 + local mycmakeargs=(
1366 -DPYTHON_EXECUTABLE="${PYTHON}"
1367 -DGR_PKG_DOC_DIR="/usr/share/doc/${P}"
1368 )
1369
1370 diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild
1371 index b0c7d2227f94..fbc335000938 100644
1372 --- a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild
1373 +++ b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild
1374 @@ -1,4 +1,4 @@
1375 -# Copyright 1999-2022 Gentoo Authors
1376 +# Copyright 1999-2023 Gentoo Authors
1377 # Distributed under the terms of the GNU General Public License v2
1378
1379 EAPI=8
1380 @@ -47,7 +47,7 @@ src_prepare() {
1381 }
1382
1383 src_configure() {
1384 - mycmakeargs=(
1385 + local mycmakeargs=(
1386 -DPYTHON_EXECUTABLE="${PYTHON}"
1387 -DGR_PKG_DOC_DIR="/usr/share/doc/${P}"
1388 )
1389
1390 diff --git a/net-wireless/liblms7002m/liblms7002m-0.0_p20200518-r1.ebuild b/net-wireless/liblms7002m/liblms7002m-0.0_p20200518-r1.ebuild
1391 index e02edefc4b60..d17dae1a2401 100644
1392 --- a/net-wireless/liblms7002m/liblms7002m-0.0_p20200518-r1.ebuild
1393 +++ b/net-wireless/liblms7002m/liblms7002m-0.0_p20200518-r1.ebuild
1394 @@ -1,4 +1,4 @@
1395 -# Copyright 1999-2022 Gentoo Authors
1396 +# Copyright 1999-2023 Gentoo Authors
1397 # Distributed under the terms of the GNU General Public License v2
1398
1399 EAPI=7
1400 @@ -32,7 +32,7 @@ python_check_deps() {
1401 }
1402
1403 src_configure() {
1404 - mycmakeargs=(
1405 + local mycmakeargs=(
1406 -DPYTHON_EXECUTABLE="${PYTHON}"
1407 )
1408 cmake_src_configure
1409
1410 diff --git a/net-wireless/liblms7002m/liblms7002m-9999.ebuild b/net-wireless/liblms7002m/liblms7002m-9999.ebuild
1411 index e02edefc4b60..d17dae1a2401 100644
1412 --- a/net-wireless/liblms7002m/liblms7002m-9999.ebuild
1413 +++ b/net-wireless/liblms7002m/liblms7002m-9999.ebuild
1414 @@ -1,4 +1,4 @@
1415 -# Copyright 1999-2022 Gentoo Authors
1416 +# Copyright 1999-2023 Gentoo Authors
1417 # Distributed under the terms of the GNU General Public License v2
1418
1419 EAPI=7
1420 @@ -32,7 +32,7 @@ python_check_deps() {
1421 }
1422
1423 src_configure() {
1424 - mycmakeargs=(
1425 + local mycmakeargs=(
1426 -DPYTHON_EXECUTABLE="${PYTHON}"
1427 )
1428 cmake_src_configure
1429
1430 diff --git a/net-wireless/libxtrx/libxtrx-0.0_p20201202.ebuild b/net-wireless/libxtrx/libxtrx-0.0_p20201202.ebuild
1431 index 5277ce0e5d1f..e1962c0b6c2e 100644
1432 --- a/net-wireless/libxtrx/libxtrx-0.0_p20201202.ebuild
1433 +++ b/net-wireless/libxtrx/libxtrx-0.0_p20201202.ebuild
1434 @@ -1,4 +1,4 @@
1435 -# Copyright 1999-2020 Gentoo Authors
1436 +# Copyright 1999-2023 Gentoo Authors
1437 # Distributed under the terms of the GNU General Public License v2
1438
1439 EAPI=7
1440 @@ -33,7 +33,7 @@ DEPEND="${RDEPEND}"
1441 src_configure() {
1442 #fails to build, not sure why
1443 #-DENABLE_SOAPY="$(usex soapy ON OFF)"
1444 - mycmakeargs=(
1445 + local mycmakeargs=(
1446 -DENABLE_SOAPY=OFF
1447 )
1448 cmake_src_configure
1449
1450 diff --git a/net-wireless/libxtrx/libxtrx-9999.ebuild b/net-wireless/libxtrx/libxtrx-9999.ebuild
1451 index 5277ce0e5d1f..e1962c0b6c2e 100644
1452 --- a/net-wireless/libxtrx/libxtrx-9999.ebuild
1453 +++ b/net-wireless/libxtrx/libxtrx-9999.ebuild
1454 @@ -1,4 +1,4 @@
1455 -# Copyright 1999-2020 Gentoo Authors
1456 +# Copyright 1999-2023 Gentoo Authors
1457 # Distributed under the terms of the GNU General Public License v2
1458
1459 EAPI=7
1460 @@ -33,7 +33,7 @@ DEPEND="${RDEPEND}"
1461 src_configure() {
1462 #fails to build, not sure why
1463 #-DENABLE_SOAPY="$(usex soapy ON OFF)"
1464 - mycmakeargs=(
1465 + local mycmakeargs=(
1466 -DENABLE_SOAPY=OFF
1467 )
1468 cmake_src_configure
1469
1470 diff --git a/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild b/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild
1471 index 6e0b7183d221..0bf53e74f27d 100644
1472 --- a/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild
1473 +++ b/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild
1474 @@ -1,4 +1,4 @@
1475 -# Copyright 1999-2020 Gentoo Authors
1476 +# Copyright 1999-2023 Gentoo Authors
1477 # Distributed under the terms of the GNU General Public License v2
1478
1479 EAPI=7
1480 @@ -26,7 +26,7 @@ RDEPEND="usb3380? ( net-wireless/libusb3380 )"
1481 DEPEND="${RDEPEND}"
1482
1483 src_configure() {
1484 - mycmakeargs=(
1485 + local mycmakeargs=(
1486 -DENABLE_PCIE=ON
1487 -DENABLE_USB3380="$(usex usb3380 ON OFF)"
1488 )
1489
1490 diff --git a/net-wireless/libxtrxll/libxtrxll-9999.ebuild b/net-wireless/libxtrxll/libxtrxll-9999.ebuild
1491 index 6e0b7183d221..0bf53e74f27d 100644
1492 --- a/net-wireless/libxtrxll/libxtrxll-9999.ebuild
1493 +++ b/net-wireless/libxtrxll/libxtrxll-9999.ebuild
1494 @@ -1,4 +1,4 @@
1495 -# Copyright 1999-2020 Gentoo Authors
1496 +# Copyright 1999-2023 Gentoo Authors
1497 # Distributed under the terms of the GNU General Public License v2
1498
1499 EAPI=7
1500 @@ -26,7 +26,7 @@ RDEPEND="usb3380? ( net-wireless/libusb3380 )"
1501 DEPEND="${RDEPEND}"
1502
1503 src_configure() {
1504 - mycmakeargs=(
1505 + local mycmakeargs=(
1506 -DENABLE_PCIE=ON
1507 -DENABLE_USB3380="$(usex usb3380 ON OFF)"
1508 )
1509
1510 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
1511 index b00901863baa..bbdfee3faae7 100644
1512 --- a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild
1513 +++ b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild
1514 @@ -1,4 +1,4 @@
1515 -# Copyright 1999-2022 Gentoo Authors
1516 +# Copyright 1999-2023 Gentoo Authors
1517 # Distributed under the terms of the GNU General Public License v2
1518
1519 EAPI=8
1520 @@ -42,7 +42,7 @@ src_prepare() {
1521
1522 src_configure() {
1523 #the udev rules are 666, we don't want that
1524 - mycmakeargs=(
1525 + local mycmakeargs=(
1526 -DINSTALL_UDEV_RULES=OFF
1527 -DDETACH_KERNEL_DRIVER=ON
1528 -DENABLE_ZEROCOPY="$(usex zerocopy)"
1529
1530 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
1531 index 959351d23e5c..f7b88d47150c 100644
1532 --- a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild
1533 +++ b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild
1534 @@ -1,4 +1,4 @@
1535 -# Copyright 1999-2021 Gentoo Authors
1536 +# Copyright 1999-2023 Gentoo Authors
1537 # Distributed under the terms of the GNU General Public License v2
1538
1539 EAPI=7
1540 @@ -46,7 +46,7 @@ src_prepare() {
1541
1542 src_configure() {
1543 #the udev rules are 666, we don't want that
1544 - mycmakeargs=(
1545 + local mycmakeargs=(
1546 -DINSTALL_UDEV_RULES=OFF
1547 -DDETACH_KERNEL_DRIVER=ON
1548 -DENABLE_ZEROCOPY="$(usex zerocopy)"
1549
1550 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
1551 index 9077e7f0dbe7..1da1818e4d31 100644
1552 --- a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild
1553 +++ b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild
1554 @@ -1,4 +1,4 @@
1555 -# Copyright 1999-2022 Gentoo Authors
1556 +# Copyright 1999-2023 Gentoo Authors
1557 # Distributed under the terms of the GNU General Public License v2
1558
1559 EAPI=8
1560 @@ -42,7 +42,7 @@ src_prepare() {
1561
1562 src_configure() {
1563 #the udev rules are 666, we don't want that
1564 - mycmakeargs=(
1565 + local mycmakeargs=(
1566 -DINSTALL_UDEV_RULES=OFF
1567 -DDETACH_KERNEL_DRIVER=ON
1568 -DENABLE_ZEROCOPY="$(usex zerocopy)"
1569
1570 diff --git a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
1571 index 9077e7f0dbe7..1da1818e4d31 100644
1572 --- a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
1573 +++ b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
1574 @@ -1,4 +1,4 @@
1575 -# Copyright 1999-2022 Gentoo Authors
1576 +# Copyright 1999-2023 Gentoo Authors
1577 # Distributed under the terms of the GNU General Public License v2
1578
1579 EAPI=8
1580 @@ -42,7 +42,7 @@ src_prepare() {
1581
1582 src_configure() {
1583 #the udev rules are 666, we don't want that
1584 - mycmakeargs=(
1585 + local mycmakeargs=(
1586 -DINSTALL_UDEV_RULES=OFF
1587 -DDETACH_KERNEL_DRIVER=ON
1588 -DENABLE_ZEROCOPY="$(usex zerocopy)"
1589
1590 diff --git a/net-wireless/rtl_433/rtl_433-21.12.ebuild b/net-wireless/rtl_433/rtl_433-21.12.ebuild
1591 index 7e127adedfde..8e0908f317bb 100644
1592 --- a/net-wireless/rtl_433/rtl_433-21.12.ebuild
1593 +++ b/net-wireless/rtl_433/rtl_433-21.12.ebuild
1594 @@ -1,4 +1,4 @@
1595 -# Copyright 1999-2022 Gentoo Authors
1596 +# Copyright 1999-2023 Gentoo Authors
1597 # Distributed under the terms of the GNU General Public License v2
1598
1599 EAPI=8
1600 @@ -32,7 +32,7 @@ PATCHES=(
1601 )
1602
1603 src_configure() {
1604 - mycmakeargs=(
1605 + local mycmakeargs=(
1606 -DENABLE_RTLSDR="$(usex rtlsdr)"
1607 -DENABLE_SOAPYSDR="$(usex soapysdr)"
1608 -DBUILD_TESTING="$(usex test)"
1609
1610 diff --git a/net-wireless/rtl_433/rtl_433-9999.ebuild b/net-wireless/rtl_433/rtl_433-9999.ebuild
1611 index 74f846b96d6d..6ccdde0e72e7 100644
1612 --- a/net-wireless/rtl_433/rtl_433-9999.ebuild
1613 +++ b/net-wireless/rtl_433/rtl_433-9999.ebuild
1614 @@ -1,4 +1,4 @@
1615 -# Copyright 1999-2022 Gentoo Authors
1616 +# Copyright 1999-2023 Gentoo Authors
1617 # Distributed under the terms of the GNU General Public License v2
1618
1619 EAPI=8
1620 @@ -30,7 +30,7 @@ RDEPEND="${DEPEND}"
1621 RESTRICT="!test? ( test )"
1622
1623 src_configure() {
1624 - mycmakeargs=(
1625 + local mycmakeargs=(
1626 -DENABLE_RTLSDR="$(usex rtlsdr)"
1627 -DENABLE_SOAPYSDR="$(usex soapysdr)"
1628 -DBUILD_TESTING="$(usex test)"
1629
1630 diff --git a/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild b/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild
1631 index 255810902b42..29c88f0d70a6 100644
1632 --- a/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild
1633 +++ b/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild
1634 @@ -1,4 +1,4 @@
1635 -# Copyright 1999-2022 Gentoo Authors
1636 +# Copyright 1999-2023 Gentoo Authors
1637 # Distributed under the terms of the GNU General Public License v2
1638
1639 EAPI=7
1640 @@ -147,7 +147,7 @@ src_configure() {
1641 cuda=( "-DGMX_GPU=ON" )
1642 local opencl=( "-DGMX_USE_OPENCL=OFF" )
1643 use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" )
1644 - mycmakeargs=(
1645 + local mycmakeargs=(
1646 ${mycmakeargs_pre[@]} ${p}
1647 -DGMX_MPI=OFF
1648 -DGMX_THREAD_MPI=$(usex threads)
1649 @@ -162,7 +162,7 @@ src_configure() {
1650 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
1651 use mpi || continue
1652 einfo "Configuring for ${x} precision with mpi"
1653 - mycmakeargs=(
1654 + local mycmakeargs=(
1655 ${mycmakeargs_pre[@]} ${p}
1656 -DGMX_THREAD_MPI=OFF
1657 -DGMX_MPI=ON
1658
1659 diff --git a/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild b/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild
1660 index bf9f493d1163..7f9f30390239 100644
1661 --- a/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild
1662 +++ b/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild
1663 @@ -1,4 +1,4 @@
1664 -# Copyright 1999-2022 Gentoo Authors
1665 +# Copyright 1999-2023 Gentoo Authors
1666 # Distributed under the terms of the GNU General Public License v2
1667
1668 EAPI=7
1669 @@ -158,7 +158,7 @@ src_configure() {
1670 cuda=( "-DGMX_GPU=ON" )
1671 local opencl=( "-DGMX_USE_OPENCL=OFF" )
1672 use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" )
1673 - mycmakeargs=(
1674 + local mycmakeargs=(
1675 ${mycmakeargs_pre[@]} ${p}
1676 -DGMX_MPI=OFF
1677 -DGMX_THREAD_MPI=$(usex threads)
1678 @@ -174,7 +174,7 @@ src_configure() {
1679 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
1680 use mpi || continue
1681 einfo "Configuring for ${x} precision with mpi"
1682 - mycmakeargs=(
1683 + local mycmakeargs=(
1684 ${mycmakeargs_pre[@]} ${p}
1685 -DGMX_THREAD_MPI=OFF
1686 -DGMX_MPI=ON
1687
1688 diff --git a/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild b/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild
1689 index ea9f998593a4..ceafc20dcc7c 100644
1690 --- a/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild
1691 +++ b/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild
1692 @@ -1,4 +1,4 @@
1693 -# Copyright 1999-2022 Gentoo Authors
1694 +# Copyright 1999-2023 Gentoo Authors
1695 # Distributed under the terms of the GNU General Public License v2
1696
1697 EAPI=7
1698 @@ -160,7 +160,7 @@ src_configure() {
1699 cuda=( "-DGMX_GPU=ON" )
1700 local opencl=( "-DGMX_USE_OPENCL=OFF" )
1701 use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" )
1702 - mycmakeargs=(
1703 + local mycmakeargs=(
1704 ${mycmakeargs_pre[@]} ${p}
1705 -DGMX_MPI=OFF
1706 -DGMX_THREAD_MPI=$(usex threads)
1707 @@ -176,7 +176,7 @@ src_configure() {
1708 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
1709 use mpi || continue
1710 einfo "Configuring for ${x} precision with mpi"
1711 - mycmakeargs=(
1712 + local mycmakeargs=(
1713 ${mycmakeargs_pre[@]} ${p}
1714 -DGMX_THREAD_MPI=OFF
1715 -DGMX_MPI=ON
1716
1717 diff --git a/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild b/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild
1718 index a1a975ee8107..4dba54bef4ab 100644
1719 --- a/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild
1720 +++ b/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild
1721 @@ -1,4 +1,4 @@
1722 -# Copyright 1999-2022 Gentoo Authors
1723 +# Copyright 1999-2023 Gentoo Authors
1724 # Distributed under the terms of the GNU General Public License v2
1725
1726 EAPI=7
1727 @@ -231,7 +231,7 @@ src_configure() {
1728 cuda=( "-DGMX_GPU=ON" )
1729 local opencl=( "-DGMX_USE_OPENCL=OFF" )
1730 use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" )
1731 - mycmakeargs=(
1732 + local mycmakeargs=(
1733 ${mycmakeargs_pre[@]} ${p}
1734 -DGMX_MPI=OFF
1735 -DGMX_THREAD_MPI=$(usex threads)
1736 @@ -249,7 +249,7 @@ src_configure() {
1737 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
1738 use mpi || continue
1739 einfo "Configuring for ${x} precision with mpi"
1740 - mycmakeargs=(
1741 + local mycmakeargs=(
1742 ${mycmakeargs_pre[@]} ${p}
1743 -DGMX_THREAD_MPI=OFF
1744 -DGMX_MPI=ON
1745
1746 diff --git a/sci-chemistry/gromacs/gromacs-2020.7.ebuild b/sci-chemistry/gromacs/gromacs-2020.7.ebuild
1747 index afbf991e279f..7e8fc98af66e 100644
1748 --- a/sci-chemistry/gromacs/gromacs-2020.7.ebuild
1749 +++ b/sci-chemistry/gromacs/gromacs-2020.7.ebuild
1750 @@ -1,4 +1,4 @@
1751 -# Copyright 1999-2022 Gentoo Authors
1752 +# Copyright 1999-2023 Gentoo Authors
1753 # Distributed under the terms of the GNU General Public License v2
1754
1755 EAPI=8
1756 @@ -231,7 +231,7 @@ src_configure() {
1757 cuda=( "-DGMX_GPU=ON" )
1758 local opencl=( "-DGMX_USE_OPENCL=OFF" )
1759 use opencl && opencl=( "-DGMX_USE_OPENCL=ON" ) cuda=( "-DGMX_GPU=ON" )
1760 - mycmakeargs=(
1761 + local mycmakeargs=(
1762 ${mycmakeargs_pre[@]} ${p}
1763 -DGMX_MPI=OFF
1764 -DGMX_THREAD_MPI=$(usex threads)
1765 @@ -249,7 +249,7 @@ src_configure() {
1766 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
1767 use mpi || continue
1768 einfo "Configuring for ${x} precision with mpi"
1769 - mycmakeargs=(
1770 + local mycmakeargs=(
1771 ${mycmakeargs_pre[@]} ${p}
1772 -DGMX_THREAD_MPI=OFF
1773 -DGMX_MPI=ON
1774
1775 diff --git a/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild b/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild
1776 index f55212f3bdc7..fb8e9270106c 100644
1777 --- a/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild
1778 +++ b/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild
1779 @@ -1,4 +1,4 @@
1780 -# Copyright 1999-2022 Gentoo Authors
1781 +# Copyright 1999-2023 Gentoo Authors
1782 # Distributed under the terms of the GNU General Public License v2
1783
1784 EAPI=8
1785 @@ -237,7 +237,7 @@ src_configure() {
1786 local gpu=( "-DGMX_GPU=OFF" )
1787 [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
1788 use opencl && gpu=( "-DGMX_GPU=OPENCL" )
1789 - mycmakeargs=(
1790 + local mycmakeargs=(
1791 ${mycmakeargs_pre[@]} ${p}
1792 -DGMX_MPI=OFF
1793 -DGMX_THREAD_MPI=$(usex threads)
1794 @@ -254,7 +254,7 @@ src_configure() {
1795 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
1796 use mpi || continue
1797 einfo "Configuring for ${x} precision with mpi"
1798 - mycmakeargs=(
1799 + local mycmakeargs=(
1800 ${mycmakeargs_pre[@]} ${p}
1801 -DGMX_THREAD_MPI=OFF
1802 -DGMX_MPI=ON
1803
1804 diff --git a/sci-chemistry/gromacs/gromacs-2021.5.ebuild b/sci-chemistry/gromacs/gromacs-2021.5.ebuild
1805 index 0a8e8fdc1642..61808242def9 100644
1806 --- a/sci-chemistry/gromacs/gromacs-2021.5.ebuild
1807 +++ b/sci-chemistry/gromacs/gromacs-2021.5.ebuild
1808 @@ -1,4 +1,4 @@
1809 -# Copyright 1999-2022 Gentoo Authors
1810 +# Copyright 1999-2023 Gentoo Authors
1811 # Distributed under the terms of the GNU General Public License v2
1812
1813 EAPI=8
1814 @@ -237,7 +237,7 @@ src_configure() {
1815 local gpu=( "-DGMX_GPU=OFF" )
1816 [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
1817 use opencl && gpu=( "-DGMX_GPU=OPENCL" )
1818 - mycmakeargs=(
1819 + local mycmakeargs=(
1820 ${mycmakeargs_pre[@]} ${p}
1821 -DGMX_MPI=OFF
1822 -DGMX_THREAD_MPI=$(usex threads)
1823 @@ -254,7 +254,7 @@ src_configure() {
1824 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
1825 use mpi || continue
1826 einfo "Configuring for ${x} precision with mpi"
1827 - mycmakeargs=(
1828 + local mycmakeargs=(
1829 ${mycmakeargs_pre[@]} ${p}
1830 -DGMX_THREAD_MPI=OFF
1831 -DGMX_MPI=ON
1832
1833 diff --git a/sci-chemistry/gromacs/gromacs-2021.6.ebuild b/sci-chemistry/gromacs/gromacs-2021.6.ebuild
1834 index 0614696b9b09..4c4b095e5f91 100644
1835 --- a/sci-chemistry/gromacs/gromacs-2021.6.ebuild
1836 +++ b/sci-chemistry/gromacs/gromacs-2021.6.ebuild
1837 @@ -1,4 +1,4 @@
1838 -# Copyright 1999-2022 Gentoo Authors
1839 +# Copyright 1999-2023 Gentoo Authors
1840 # Distributed under the terms of the GNU General Public License v2
1841
1842 EAPI=8
1843 @@ -237,7 +237,7 @@ src_configure() {
1844 local gpu=( "-DGMX_GPU=OFF" )
1845 [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
1846 use opencl && gpu=( "-DGMX_GPU=OPENCL" )
1847 - mycmakeargs=(
1848 + local mycmakeargs=(
1849 ${mycmakeargs_pre[@]} ${p}
1850 -DGMX_MPI=OFF
1851 -DGMX_THREAD_MPI=$(usex threads)
1852 @@ -254,7 +254,7 @@ src_configure() {
1853 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
1854 use mpi || continue
1855 einfo "Configuring for ${x} precision with mpi"
1856 - mycmakeargs=(
1857 + local mycmakeargs=(
1858 ${mycmakeargs_pre[@]} ${p}
1859 -DGMX_THREAD_MPI=OFF
1860 -DGMX_MPI=ON
1861
1862 diff --git a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild
1863 index 31f880174588..ece941e30ed3 100644
1864 --- a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild
1865 +++ b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild
1866 @@ -1,4 +1,4 @@
1867 -# Copyright 1999-2022 Gentoo Authors
1868 +# Copyright 1999-2023 Gentoo Authors
1869 # Distributed under the terms of the GNU General Public License v2
1870
1871 EAPI=8
1872 @@ -235,7 +235,7 @@ src_configure() {
1873 local gpu=( "-DGMX_GPU=OFF" )
1874 [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
1875 use opencl && gpu=( "-DGMX_GPU=OPENCL" )
1876 - mycmakeargs=(
1877 + local mycmakeargs=(
1878 ${mycmakeargs_pre[@]} ${p}
1879 -DGMX_MPI=OFF
1880 -DGMX_THREAD_MPI=$(usex threads)
1881 @@ -252,7 +252,7 @@ src_configure() {
1882 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
1883 use mpi || continue
1884 einfo "Configuring for ${x} precision with mpi"
1885 - mycmakeargs=(
1886 + local mycmakeargs=(
1887 ${mycmakeargs_pre[@]} ${p}
1888 -DGMX_THREAD_MPI=OFF
1889 -DGMX_MPI=ON
1890
1891 diff --git a/sci-chemistry/gromacs/gromacs-2022.3.ebuild b/sci-chemistry/gromacs/gromacs-2022.3.ebuild
1892 index d0f55aca4bc1..306bd72ec9bb 100644
1893 --- a/sci-chemistry/gromacs/gromacs-2022.3.ebuild
1894 +++ b/sci-chemistry/gromacs/gromacs-2022.3.ebuild
1895 @@ -1,4 +1,4 @@
1896 -# Copyright 1999-2022 Gentoo Authors
1897 +# Copyright 1999-2023 Gentoo Authors
1898 # Distributed under the terms of the GNU General Public License v2
1899
1900 EAPI=8
1901 @@ -245,7 +245,7 @@ src_configure() {
1902 [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
1903 [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" )
1904 use opencl && gpu=( "-DGMX_GPU=OPENCL" )
1905 - mycmakeargs=(
1906 + local mycmakeargs=(
1907 ${mycmakeargs_pre[@]} ${p}
1908 -DGMX_MPI=$(usex mpi)
1909 -DGMX_THREAD_MPI=$(usex threads)
1910
1911 diff --git a/sci-chemistry/gromacs/gromacs-2022.4.ebuild b/sci-chemistry/gromacs/gromacs-2022.4.ebuild
1912 index 72ac3b19bbcd..15a7139387d8 100644
1913 --- a/sci-chemistry/gromacs/gromacs-2022.4.ebuild
1914 +++ b/sci-chemistry/gromacs/gromacs-2022.4.ebuild
1915 @@ -1,4 +1,4 @@
1916 -# Copyright 1999-2022 Gentoo Authors
1917 +# Copyright 1999-2023 Gentoo Authors
1918 # Distributed under the terms of the GNU General Public License v2
1919
1920 EAPI=8
1921 @@ -245,7 +245,7 @@ src_configure() {
1922 [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
1923 [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" )
1924 use opencl && gpu=( "-DGMX_GPU=OPENCL" )
1925 - mycmakeargs=(
1926 + local mycmakeargs=(
1927 ${mycmakeargs_pre[@]} ${p}
1928 -DGMX_MPI=$(usex mpi)
1929 -DGMX_THREAD_MPI=$(usex threads)
1930
1931 diff --git a/sci-chemistry/gromacs/gromacs-2022.9999.ebuild b/sci-chemistry/gromacs/gromacs-2022.9999.ebuild
1932 index 72ac3b19bbcd..15a7139387d8 100644
1933 --- a/sci-chemistry/gromacs/gromacs-2022.9999.ebuild
1934 +++ b/sci-chemistry/gromacs/gromacs-2022.9999.ebuild
1935 @@ -1,4 +1,4 @@
1936 -# Copyright 1999-2022 Gentoo Authors
1937 +# Copyright 1999-2023 Gentoo Authors
1938 # Distributed under the terms of the GNU General Public License v2
1939
1940 EAPI=8
1941 @@ -245,7 +245,7 @@ src_configure() {
1942 [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
1943 [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" )
1944 use opencl && gpu=( "-DGMX_GPU=OPENCL" )
1945 - mycmakeargs=(
1946 + local mycmakeargs=(
1947 ${mycmakeargs_pre[@]} ${p}
1948 -DGMX_MPI=$(usex mpi)
1949 -DGMX_THREAD_MPI=$(usex threads)
1950
1951 diff --git a/sci-chemistry/gromacs/gromacs-2023.9999.ebuild b/sci-chemistry/gromacs/gromacs-2023.9999.ebuild
1952 index f2f127f13d21..df489bdf84db 100644
1953 --- a/sci-chemistry/gromacs/gromacs-2023.9999.ebuild
1954 +++ b/sci-chemistry/gromacs/gromacs-2023.9999.ebuild
1955 @@ -1,4 +1,4 @@
1956 -# Copyright 1999-2022 Gentoo Authors
1957 +# Copyright 1999-2023 Gentoo Authors
1958 # Distributed under the terms of the GNU General Public License v2
1959
1960 EAPI=8
1961 @@ -243,7 +243,7 @@ src_configure() {
1962 [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
1963 [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" )
1964 use opencl && gpu=( "-DGMX_GPU=OPENCL" )
1965 - mycmakeargs=(
1966 + local mycmakeargs=(
1967 ${mycmakeargs_pre[@]} ${p}
1968 -DGMX_MPI=$(usex mpi)
1969 -DGMX_THREAD_MPI=$(usex threads)
1970
1971 diff --git a/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild b/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild
1972 index f2f127f13d21..df489bdf84db 100644
1973 --- a/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild
1974 +++ b/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild
1975 @@ -1,4 +1,4 @@
1976 -# Copyright 1999-2022 Gentoo Authors
1977 +# Copyright 1999-2023 Gentoo Authors
1978 # Distributed under the terms of the GNU General Public License v2
1979
1980 EAPI=8
1981 @@ -243,7 +243,7 @@ src_configure() {
1982 [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
1983 [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" )
1984 use opencl && gpu=( "-DGMX_GPU=OPENCL" )
1985 - mycmakeargs=(
1986 + local mycmakeargs=(
1987 ${mycmakeargs_pre[@]} ${p}
1988 -DGMX_MPI=$(usex mpi)
1989 -DGMX_THREAD_MPI=$(usex threads)
1990
1991 diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-9999.ebuild
1992 index f2f127f13d21..df489bdf84db 100644
1993 --- a/sci-chemistry/gromacs/gromacs-9999.ebuild
1994 +++ b/sci-chemistry/gromacs/gromacs-9999.ebuild
1995 @@ -1,4 +1,4 @@
1996 -# Copyright 1999-2022 Gentoo Authors
1997 +# Copyright 1999-2023 Gentoo Authors
1998 # Distributed under the terms of the GNU General Public License v2
1999
2000 EAPI=8
2001 @@ -243,7 +243,7 @@ src_configure() {
2002 [[ ${x} = "float" ]] && use cuda && gpu=( "-DGMX_GPU=CUDA" )
2003 [[ ${x} = "float" ]] && use clang-cuda && gpu=( "-DGMX_GPU=CUDA" "-DGMX_CLANG_CUDA=ON" )
2004 use opencl && gpu=( "-DGMX_GPU=OPENCL" )
2005 - mycmakeargs=(
2006 + local mycmakeargs=(
2007 ${mycmakeargs_pre[@]} ${p}
2008 -DGMX_MPI=$(usex mpi)
2009 -DGMX_THREAD_MPI=$(usex threads)
2010
2011 diff --git a/sci-libs/libaec/libaec-1.0.6.ebuild b/sci-libs/libaec/libaec-1.0.6.ebuild
2012 index a285731d1520..d413db1b4c29 100644
2013 --- a/sci-libs/libaec/libaec-1.0.6.ebuild
2014 +++ b/sci-libs/libaec/libaec-1.0.6.ebuild
2015 @@ -1,4 +1,4 @@
2016 -# Copyright 1999-2022 Gentoo Authors
2017 +# Copyright 1999-2023 Gentoo Authors
2018 # Distributed under the terms of the GNU General Public License v2
2019
2020 EAPI=8
2021 @@ -20,7 +20,7 @@ IUSE="+szip"
2022 RDEPEND="szip? ( !sci-libs/szip )"
2023
2024 src_configure() {
2025 - mycmakeargs=(
2026 + local mycmakeargs=(
2027 -DCMAKE_INSTALL_LIBDIR=$(get_libdir)
2028 )
2029
2030
2031 diff --git a/sci-physics/espresso/espresso-4.1.3.ebuild b/sci-physics/espresso/espresso-4.1.3.ebuild
2032 index 4c60379b475a..50078106b0ba 100644
2033 --- a/sci-physics/espresso/espresso-4.1.3.ebuild
2034 +++ b/sci-physics/espresso/espresso-4.1.3.ebuild
2035 @@ -1,4 +1,4 @@
2036 -# Copyright 1999-2021 Gentoo Authors
2037 +# Copyright 1999-2023 Gentoo Authors
2038 # Distributed under the terms of the GNU General Public License v2
2039
2040 EAPI=7
2041 @@ -59,7 +59,7 @@ src_prepare() {
2042 }
2043
2044 src_configure() {
2045 - mycmakeargs=(
2046 + local mycmakeargs=(
2047 -DWITH_CUDA=$(usex cuda)
2048 -DPYTHON_EXECUTABLE="${PYTHON}"
2049 -DWITH_TESTS=$(usex test)
2050
2051 diff --git a/sci-physics/espresso/espresso-4.2.0.ebuild b/sci-physics/espresso/espresso-4.2.0.ebuild
2052 index fb6b55b2bc12..443b1bb4a118 100644
2053 --- a/sci-physics/espresso/espresso-4.2.0.ebuild
2054 +++ b/sci-physics/espresso/espresso-4.2.0.ebuild
2055 @@ -1,4 +1,4 @@
2056 -# Copyright 1999-2022 Gentoo Authors
2057 +# Copyright 1999-2023 Gentoo Authors
2058 # Distributed under the terms of the GNU General Public License v2
2059
2060 EAPI=7
2061 @@ -63,7 +63,7 @@ src_prepare() {
2062 }
2063
2064 src_configure() {
2065 - mycmakeargs=(
2066 + local mycmakeargs=(
2067 -DWITH_CUDA=$(usex cuda)
2068 -DPYTHON_EXECUTABLE="${PYTHON}"
2069 -DWITH_TESTS=$(usex test)
2070
2071 diff --git a/sci-physics/espresso/espresso-9999.ebuild b/sci-physics/espresso/espresso-9999.ebuild
2072 index 0373c76056bf..1c8149b261a4 100644
2073 --- a/sci-physics/espresso/espresso-9999.ebuild
2074 +++ b/sci-physics/espresso/espresso-9999.ebuild
2075 @@ -1,4 +1,4 @@
2076 -# Copyright 1999-2022 Gentoo Authors
2077 +# Copyright 1999-2023 Gentoo Authors
2078 # Distributed under the terms of the GNU General Public License v2
2079
2080 EAPI=7
2081 @@ -59,7 +59,7 @@ src_prepare() {
2082 }
2083
2084 src_configure() {
2085 - mycmakeargs=(
2086 + local mycmakeargs=(
2087 -DWITH_CUDA=$(usex cuda)
2088 -DPYTHON_EXECUTABLE="${PYTHON}"
2089 -DWITH_TESTS=$(usex test)
2090
2091 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
2092 index 84bfb0cbab3f..9c5eab819e44 100644
2093 --- a/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild
2094 +++ b/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild
2095 @@ -1,4 +1,4 @@
2096 -# Copyright 1999-2021 Gentoo Authors
2097 +# Copyright 1999-2023 Gentoo Authors
2098 # Distributed under the terms of the GNU General Public License v2
2099
2100 EAPI=7
2101 @@ -104,7 +104,7 @@ src_configure() {
2102 append-cflags "$(${PKGCONF} --cflags harfbuzz)"
2103 fi
2104
2105 - mycmakeargs=(
2106 + local mycmakeargs=(
2107 -DDEVICES="${USED_MODELS/;/}"
2108 -DUDEVDIR="${EPREFIX}$(get_udevdir)/rules.d"
2109 )
2110
2111 diff --git a/sys-fs/dfc/dfc-3.1.1.ebuild b/sys-fs/dfc/dfc-3.1.1.ebuild
2112 index 6efb0e5b80cd..4e0dba7f60f0 100644
2113 --- a/sys-fs/dfc/dfc-3.1.1.ebuild
2114 +++ b/sys-fs/dfc/dfc-3.1.1.ebuild
2115 @@ -1,4 +1,4 @@
2116 -# Copyright 1999-2022 Gentoo Authors
2117 +# Copyright 1999-2023 Gentoo Authors
2118 # Distributed under the terms of the GNU General Public License v2
2119
2120 EAPI=8
2121 @@ -20,7 +20,7 @@ DEPEND="nls? (
2122 RDEPEND="nls? ( virtual/libintl )"
2123
2124 src_configure() {
2125 - mycmakeargs=(
2126 + local mycmakeargs=(
2127 # avoid installing xdg config in /usr
2128 -DXDG_CONFIG_DIR="${EPREFIX}"/etc/xdg
2129 # use the standard Gentoo doc path
2130
2131 diff --git a/x11-wm/herbstluftwm/herbstluftwm-0.9.5.ebuild b/x11-wm/herbstluftwm/herbstluftwm-0.9.5.ebuild
2132 index d69cb69d2351..e732c8be90e1 100644
2133 --- a/x11-wm/herbstluftwm/herbstluftwm-0.9.5.ebuild
2134 +++ b/x11-wm/herbstluftwm/herbstluftwm-0.9.5.ebuild
2135 @@ -1,4 +1,4 @@
2136 -# Copyright 1999-2022 Gentoo Authors
2137 +# Copyright 1999-2023 Gentoo Authors
2138 # Distributed under the terms of the GNU General Public License v2
2139
2140 EAPI=8
2141 @@ -80,7 +80,7 @@ src_configure() {
2142 # Ensure that 'python3' is in PATH. #765118
2143 python_setup
2144
2145 - mycmakeargs=(
2146 + local mycmakeargs=(
2147 -DWITH_DOCUMENTATION=$(usex doc)
2148 )
2149 cmake_src_configure
2150
2151 diff --git a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild
2152 index 4bb6c21b60f1..051f9ba720c9 100644
2153 --- a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild
2154 +++ b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild
2155 @@ -1,4 +1,4 @@
2156 -# Copyright 1999-2022 Gentoo Authors
2157 +# Copyright 1999-2023 Gentoo Authors
2158 # Distributed under the terms of the GNU General Public License v2
2159
2160 EAPI=8
2161 @@ -89,7 +89,7 @@ src_configure() {
2162 # Ensure that 'python3' is in PATH. #765118
2163 python_setup
2164
2165 - mycmakeargs=(
2166 + local mycmakeargs=(
2167 -DWITH_DOCUMENTATION=$(usex doc)
2168 )
2169 cmake_src_configure