summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-03 23:25:55 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-15 01:21:35 +0200
commit8b78a2bf52cd04def3279d150b8117b738c70d08 (patch)
tree219a49bd970cd3f38651524226e0dc45dad5de33 /sys-libs/libcap-ng
parentsys-libs/libblockdev: Drop superfluous calls to python_is_python3 (diff)
downloadgentoo-8b78a2bf52cd04def3279d150b8117b738c70d08.tar.gz
gentoo-8b78a2bf52cd04def3279d150b8117b738c70d08.tar.bz2
gentoo-8b78a2bf52cd04def3279d150b8117b738c70d08.zip
sys-libs/libcap-ng: Drop superfluous calls to python_is_python3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sys-libs/libcap-ng')
-rw-r--r--sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild7
1 files changed, 1 insertions, 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 f19dc4e73c8d..ffc8687f1aad 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[@]}"
}