[gentoo-dev] Last rites: sys-power/dptfxtract

2023-02-27 Thread Pacho Ramos
# Pacho Ramos  (2023-02-27)
# No longer needed by thermald-2, discontinued by upstream
# Removal: 2023-03-29.  Bug #898164.
sys-power/dptfxtract



signature.asc
Description: This is a digitally signed message part


[gentoo-dev] [PATCH] cmake.eclass: handle quoted whitespace in MYCMAKEARGS

2023-02-27 Thread Mike Gilbert
This uses eval in a similar way to econf and meson.eclass.

Signed-off-by: Mike Gilbert 
---
 eclass/cmake.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 2c5620adede5..46659867b1a8 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -595,9 +595,9 @@ cmake_src_configure() {
-DCMAKE_TOOLCHAIN_FILE="${toolchain_file}"
)
 
-   if [[ -n ${MYCMAKEARGS} ]] ; then
-   cmakeargs+=( "${MYCMAKEARGS}" )
-   fi
+   # Handle quoted whitespace
+   eval "local -a MYCMAKEARGS=( ${MYCMAKEARGS} )"
+   cmakeargs+=( "${MYCMAKEARGS[@]}" )
 
if [[ -n "${CMAKE_EXTRA_CACHE_FILE}" ]] ; then
cmakeargs+=( -C "${CMAKE_EXTRA_CACHE_FILE}" )
-- 
2.39.2