From 9d3c743cbbb232e09cc99637455383a9f0e9e873 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sat, 22 Apr 2023 03:58:39 -0400 Subject: dev-python/PyQt6-WebEngine: simplify using python_configure_all Didn't really make a difference before, but now it does, Signed-off-by: Ionen Wolkens --- dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild | 3 +-- dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild index 5ee2a0f1316c..fac59ec70b21 100644 --- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild +++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild @@ -42,8 +42,7 @@ src_prepare() { PATH=${T}/cxx:${PATH} } -src_configure() { - append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet" +python_configure_all() { append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) append-cxxflags ${CPPFLAGS} # respect CPPFLAGS diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild index bd4ef8fb4ddb..9cb83d4974a9 100644 --- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild +++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild @@ -42,8 +42,7 @@ src_prepare() { PATH=${T}/cxx:${PATH} } -src_configure() { - append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet" +python_configure_all() { append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) append-cxxflags ${CPPFLAGS} # respect CPPFLAGS -- cgit v1.2.3-65-gdbad