From 90e9e4843d7d63c5e7fa1f5d6d6f4cc7350ce77c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 26 Sep 2022 21:08:42 +0100 Subject: gentoo auto-resync : 26:09:2022 - 21:08:42 --- net-wireless/uhd/uhd-4.1.0.5.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'net-wireless/uhd/uhd-4.1.0.5.ebuild') diff --git a/net-wireless/uhd/uhd-4.1.0.5.ebuild b/net-wireless/uhd/uhd-4.1.0.5.ebuild index f77c3fbc8a83..abf30a8c22b6 100644 --- a/net-wireless/uhd/uhd-4.1.0.5.ebuild +++ b/net-wireless/uhd/uhd-4.1.0.5.ebuild @@ -38,7 +38,7 @@ RDEPEND="${PYTHON_DEPS} ') " DEPEND="${RDEPEND}" -#zip an gzip are directly used by the build system +#zip and gzip are directly used by the build system BDEPEND=" doc? ( app-doc/doxygen ) $(python_gen_cond_dep ' @@ -97,10 +97,12 @@ src_configure() { src_install() { cmake_src_install python_optimize - use utils && python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/ - if [[ "${PV}" != "9999" ]]; then - rm -r "${ED}/usr/bin/uhd_images_downloader" || die - rm -r "${ED}/usr/share/man/man1/uhd_images_downloader.1" || die + if use utils; then + python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/ + if [[ "${PV}" != "9999" ]]; then + rm -r "${ED}/usr/bin/uhd_images_downloader" || die + rm -r "${ED}/usr/share/man/man1/uhd_images_downloader.1" || die + fi fi udev_dorules "${S}/utils/uhd-usrp.rules" -- cgit v1.2.3