From: Mike Frysinger Date: Fri, 14 Aug 2015 03:40:16 +0000 (-0400) Subject: sys-boot/vboot-utils: handle USE=static & static-libs interaction #553994 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1f9577f6c5cd6590517d8a77a48bd7b17f1974a2;p=gentoo.git sys-boot/vboot-utils: handle USE=static & static-libs interaction #553994 --- 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}