commit:     2ede26713b5d391957cc587b166d3aa1e6d5fb25
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 11 14:35:50 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 14:37:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ede2671

dev-lang/python: Remove obsolete -L. hack

Closes: https://bugs.gentoo.org/770076
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-lang/python/python-2.7.18-r6.ebuild     | 5 -----
 dev-lang/python/python-3.10.0_alpha5.ebuild | 5 -----
 dev-lang/python/python-3.6.12-r2.ebuild     | 5 -----
 dev-lang/python/python-3.7.9-r2.ebuild      | 5 -----
 dev-lang/python/python-3.8.7-r1.ebuild      | 5 -----
 dev-lang/python/python-3.9.1-r1.ebuild      | 5 -----
 6 files changed, 30 deletions(-)

diff --git a/dev-lang/python/python-2.7.18-r6.ebuild 
b/dev-lang/python/python-2.7.18-r6.ebuild
index ea553c8e16d..87697e77174 100644
--- a/dev-lang/python/python-2.7.18-r6.ebuild
+++ b/dev-lang/python/python-2.7.18-r6.ebuild
@@ -174,11 +174,6 @@ src_configure() {
        # http://bugs.python.org/issue15506
        export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
 
-       # Set LDFLAGS so we link modules with -lpython2.7 correctly.
-       # Needed on FreeBSD unless Python 2.7 is already installed.
-       # Please query BSD team before removing this!
-       append-ldflags "-L."
-
        local dbmliborder
        if use gdbm; then
                dbmliborder+="${dbmliborder:+:}gdbm"

diff --git a/dev-lang/python/python-3.10.0_alpha5.ebuild 
b/dev-lang/python/python-3.10.0_alpha5.ebuild
index df84b115ffd..741cc079a7b 100644
--- a/dev-lang/python/python-3.10.0_alpha5.ebuild
+++ b/dev-lang/python/python-3.10.0_alpha5.ebuild
@@ -153,11 +153,6 @@ src_configure() {
        # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
        tc-export CXX
 
-       # Set LDFLAGS so we link modules with -lpython3.2 correctly.
-       # Needed on FreeBSD unless Python 3.2 is already installed.
-       # Please query BSD team before removing this!
-       append-ldflags "-L."
-
        # Fix implicit declarations on cross and prefix builds. Bug #674070.
        use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
 

diff --git a/dev-lang/python/python-3.6.12-r2.ebuild 
b/dev-lang/python/python-3.6.12-r2.ebuild
index 4a43ae08248..01b619ac4b9 100644
--- a/dev-lang/python/python-3.6.12-r2.ebuild
+++ b/dev-lang/python/python-3.6.12-r2.ebuild
@@ -142,11 +142,6 @@ src_configure() {
        # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
        tc-export CXX
 
-       # Set LDFLAGS so we link modules with -lpython3.2 correctly.
-       # Needed on FreeBSD unless Python 3.2 is already installed.
-       # Please query BSD team before removing this!
-       append-ldflags "-L."
-
        local dbmliborder
        if use gdbm; then
                dbmliborder+="${dbmliborder:+:}gdbm"

diff --git a/dev-lang/python/python-3.7.9-r2.ebuild 
b/dev-lang/python/python-3.7.9-r2.ebuild
index d1a61f5ecdb..3be1fff0baf 100644
--- a/dev-lang/python/python-3.7.9-r2.ebuild
+++ b/dev-lang/python/python-3.7.9-r2.ebuild
@@ -134,11 +134,6 @@ src_configure() {
        # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
        tc-export CXX
 
-       # Set LDFLAGS so we link modules with -lpython3.2 correctly.
-       # Needed on FreeBSD unless Python 3.2 is already installed.
-       # Please query BSD team before removing this!
-       append-ldflags "-L."
-
        # Fix implicit declarations on cross and prefix builds. Bug #674070.
        use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
 

diff --git a/dev-lang/python/python-3.8.7-r1.ebuild 
b/dev-lang/python/python-3.8.7-r1.ebuild
index 97ca965b7c5..7d9a82ace38 100644
--- a/dev-lang/python/python-3.8.7-r1.ebuild
+++ b/dev-lang/python/python-3.8.7-r1.ebuild
@@ -140,11 +140,6 @@ src_configure() {
        # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
        tc-export CXX
 
-       # Set LDFLAGS so we link modules with -lpython3.2 correctly.
-       # Needed on FreeBSD unless Python 3.2 is already installed.
-       # Please query BSD team before removing this!
-       append-ldflags "-L."
-
        # Fix implicit declarations on cross and prefix builds. Bug #674070.
        use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
 

diff --git a/dev-lang/python/python-3.9.1-r1.ebuild 
b/dev-lang/python/python-3.9.1-r1.ebuild
index 3bd43f252c8..79ddedadff1 100644
--- a/dev-lang/python/python-3.9.1-r1.ebuild
+++ b/dev-lang/python/python-3.9.1-r1.ebuild
@@ -151,11 +151,6 @@ src_configure() {
        # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
        tc-export CXX
 
-       # Set LDFLAGS so we link modules with -lpython3.2 correctly.
-       # Needed on FreeBSD unless Python 3.2 is already installed.
-       # Please query BSD team before removing this!
-       append-ldflags "-L."
-
        # Fix implicit declarations on cross and prefix builds. Bug #674070.
        use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
 

Reply via email to