From 1f9577f6c5cd6590517d8a77a48bd7b17f1974a2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 13 Aug 2015 23:40:16 -0400 Subject: [PATCH] sys-boot/vboot-utils: handle USE=static & static-libs interaction #553994 --- sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild b/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild index 4f6f3f5c5b74..de2fbd230776 100644 --- a/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild +++ b/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild @@ -20,13 +20,15 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" IUSE="minimal static" -RDEPEND="dev-libs/openssl:0= - sys-apps/util-linux:= +LIB_DEPEND="dev-libs/openssl:0=[static-libs(+)] + sys-apps/util-linux:=[static-libs(+)]" +RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) !minimal? ( app-arch/xz-utils:= dev-libs/libyaml:= )" DEPEND="${RDEPEND} + static? ( ${LIB_DEPEND} ) app-crypt/trousers" S=${WORKDIR} -- 2.26.2