commit:     8b78a2bf52cd04def3279d150b8117b738c70d08
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  3 21:25:55 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 23:21:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b78a2bf

sys-libs/libcap-ng: Drop superfluous calls to python_is_python3

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index f19dc4e73c8..ffc8687f1aa 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -44,12 +44,7 @@ src_configure() {
        # set up python bindings build(s)
        if use python ; then
                setup_python_flags_configure() {
-                       if python_is_python3; then
-                               pythonconf=( --without-python --with-python3 )
-                       else
-                               pythonconf=( --with-python --without-python3 )
-                               local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
-                       fi
+                       pythonconf=( --without-python --with-python3 )
                        run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
                }
 

Reply via email to