commit: 2f8cabba4de6e43f81ab473d661d141c12301d74 Author: Rick Farina <zerochaos <AT> gentoo <DOT> org> AuthorDate: Thu Aug 24 01:28:32 2023 +0000 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> CommitDate: Thu Aug 24 01:28:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f8cabba
net-libs/libiio: fix missing conditional Closes: https://bugs.gentoo.org/912702 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> net-libs/libiio/libiio-0.25.ebuild | 6 ++++-- net-libs/libiio/libiio-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/net-libs/libiio/libiio-0.25.ebuild b/net-libs/libiio/libiio-0.25.ebuild index 089cda96f936..c752d70a4699 100644 --- a/net-libs/libiio/libiio-0.25.ebuild +++ b/net-libs/libiio/libiio-0.25.ebuild @@ -41,8 +41,10 @@ src_configure() { src_install() { cmake_src_install - python_fix_shebang "${ED}" - python_optimize + if use python; then + python_fix_shebang "${ED}" + python_optimize + fi } pkg_postinst() { diff --git a/net-libs/libiio/libiio-9999.ebuild b/net-libs/libiio/libiio-9999.ebuild index 089cda96f936..c752d70a4699 100644 --- a/net-libs/libiio/libiio-9999.ebuild +++ b/net-libs/libiio/libiio-9999.ebuild @@ -41,8 +41,10 @@ src_configure() { src_install() { cmake_src_install - python_fix_shebang "${ED}" - python_optimize + if use python; then + python_fix_shebang "${ED}" + python_optimize + fi } pkg_postinst() {
