commit:     86aff0f619fc2aae1729e013c17b9acfcbf876a7
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 05:53:43 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 06:51:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86aff0f6

dev-python/PyQt6-WebEngine: respect CPPFLAGS

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild | 2 ++
 dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild | 2 ++
 2 files changed, 4 insertions(+)

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 705687cb3f08..5ee2a0f1316c 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
@@ -43,7 +43,9 @@ src_prepare() {
 }
 
 src_configure() {
+       append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet"
        append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug 
#892331)
+       append-cxxflags ${CPPFLAGS} # respect CPPFLAGS
 
        DISTUTILS_ARGS=(
                --jobs=$(makeopts_jobs)

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 063d08fadcca..bd4ef8fb4ddb 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
@@ -43,7 +43,9 @@ src_prepare() {
 }
 
 src_configure() {
+       append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet"
        append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug 
#892331)
+       append-cxxflags ${CPPFLAGS} # respect CPPFLAGS
 
        DISTUTILS_ARGS=(
                --jobs=$(makeopts_jobs)

Reply via email to