commit:     c8f87408cbae12538597182f169d5dd6abf4d456
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Nov  8 01:03:32 2022 +0000
Commit:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Sun Nov 13 14:47:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=c8f87408

dev-lang/python: Merge ::gentoo changes

Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/libressl/pull/468
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>

 dev-lang/python/python-3.10.8_p2.ebuild | 10 +++++-----
 dev-lang/python/python-3.9.15_p2.ebuild | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dev-lang/python/python-3.10.8_p2.ebuild 
b/dev-lang/python/python-3.10.8_p2.ebuild
index dc1972f..0aa5e16 100644
--- a/dev-lang/python/python-3.10.8_p2.ebuild
+++ b/dev-lang/python/python-3.10.8_p2.ebuild
@@ -167,11 +167,6 @@ src_configure() {
        # PKG_CONFIG needed for cross.
        tc-export CXX PKG_CONFIG
 
-       # Fix implicit declarations on cross and prefix builds. Bug #674070.
-       if use ncurses; then
-               append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
-       fi
-
        local dbmliborder=
        if use gdbm; then
                dbmliborder+="${dbmliborder:+:}gdbm"
@@ -290,6 +285,11 @@ src_configure() {
        local -x LDFLAGS_NODIST=${LDFLAGS}
        local -x CFLAGS= LDFLAGS=
 
+       # Fix implicit declarations on cross and prefix builds. Bug #674070.
+       if use ncurses; then
+               append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
+       fi
+
        econf "${myeconfargs[@]}"
 
        if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then

diff --git a/dev-lang/python/python-3.9.15_p2.ebuild 
b/dev-lang/python/python-3.9.15_p2.ebuild
index d897137..b8477c5 100644
--- a/dev-lang/python/python-3.9.15_p2.ebuild
+++ b/dev-lang/python/python-3.9.15_p2.ebuild
@@ -164,11 +164,6 @@ src_configure() {
        # PKG_CONFIG needed for cross.
        tc-export CXX PKG_CONFIG
 
-       # Fix implicit declarations on cross and prefix builds. Bug #674070.
-       if use ncurses; then
-               append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
-       fi
-
        local dbmliborder=
        if use gdbm; then
                dbmliborder+="${dbmliborder:+:}gdbm"
@@ -285,6 +280,11 @@ src_configure() {
        local -x LDFLAGS_NODIST=${LDFLAGS}
        local -x CFLAGS= LDFLAGS=
 
+       # Fix implicit declarations on cross and prefix builds. Bug #674070.
+       if use ncurses; then
+               append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
+       fi
+
        econf "${myeconfargs[@]}"
 
        if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then

Reply via email to