From bd3aaf386d6008056ee3b39d594ea59e2b659590 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sat, 22 Apr 2023 03:58:58 -0400 Subject: dev-python/PyQt6: simplify using python_configure_all Didn't really make a difference before, but now it does, Signed-off-by: Ionen Wolkens --- dev-python/PyQt6/PyQt6-6.4.2.ebuild | 3 +-- dev-python/PyQt6/PyQt6-6.5.0.ebuild | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'dev-python/PyQt6') diff --git a/dev-python/PyQt6/PyQt6-6.4.2.ebuild b/dev-python/PyQt6/PyQt6-6.4.2.ebuild index cf5de2a490c4..4e892b399454 100644 --- a/dev-python/PyQt6/PyQt6-6.4.2.ebuild +++ b/dev-python/PyQt6/PyQt6-6.4.2.ebuild @@ -77,8 +77,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/PyQt6-6.5.0.ebuild b/dev-python/PyQt6/PyQt6-6.5.0.ebuild index a731a68b3575..36a47c507bf3 100644 --- a/dev-python/PyQt6/PyQt6-6.5.0.ebuild +++ b/dev-python/PyQt6/PyQt6-6.5.0.ebuild @@ -78,8 +78,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