diff options
author | Rick Farina <zerochaos@gentoo.org> | 2023-08-23 21:28:32 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2023-08-23 21:28:32 -0400 |
commit | 2f8cabba4de6e43f81ab473d661d141c12301d74 (patch) | |
tree | bc929e61e860a4565ac95fd4ab553afa27212a68 /net-libs | |
parent | sci-libs/arpack: also install headers for ISO C bindings (diff) | |
download | gentoo-2f8cabba4de6e43f81ab473d661d141c12301d74.tar.gz gentoo-2f8cabba4de6e43f81ab473d661d141c12301d74.tar.bz2 gentoo-2f8cabba4de6e43f81ab473d661d141c12301d74.zip |
net-libs/libiio: fix missing conditional
Closes: https://bugs.gentoo.org/912702
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libiio/libiio-0.25.ebuild | 6 | ||||
-rw-r--r-- | 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() { |