From 44b9278a1cb40ebae2ce038ccf97bae83ed786ac Mon Sep 17 00:00:00 2001 From: Nick Sarnie Date: Wed, 11 Jul 2018 22:55:32 -0400 Subject: dev-util/vulkan-tools: Only rename cube binaries with cube USE Whoops Package-Manager: Portage-2.3.42, Repoman-2.3.9 --- dev-util/vulkan-tools/vulkan-tools-9999.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dev-util/vulkan-tools/vulkan-tools-9999.ebuild') diff --git a/dev-util/vulkan-tools/vulkan-tools-9999.ebuild b/dev-util/vulkan-tools/vulkan-tools-9999.ebuild index f4bd7a738873..043d52de1fec 100644 --- a/dev-util/vulkan-tools/vulkan-tools-9999.ebuild +++ b/dev-util/vulkan-tools/vulkan-tools-9999.ebuild @@ -76,8 +76,11 @@ multilib_src_configure() { multilib_src_install() { default - mv "${ED%/}"/usr/bin/cube "${ED%/}"/usr/bin/vulkancube || die - mv "${ED%/}"/usr/bin/cubepp "${ED%/}"/usr/bin/vulkancubecpp || die + + if use cube; then + mv "${ED%/}"/usr/bin/cube "${ED%/}"/usr/bin/vulkancube || die + mv "${ED%/}"/usr/bin/cubepp "${ED%/}"/usr/bin/vulkancubecpp || die + fi } pkg_postinst() { -- cgit v1.2.3-65-gdbad