summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-13 23:40:16 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-13 23:40:16 -0400
commit1f9577f6c5cd6590517d8a77a48bd7b17f1974a2 (patch)
treefb0910931451032a30e13c5c102b8dd5c4fe0402 /sys-boot
parentsys-auth/passwdqc: add a compile test for shadow.h #554504 (diff)
downloadgentoo-1f9577f6c5cd6590517d8a77a48bd7b17f1974a2.tar.gz
gentoo-1f9577f6c5cd6590517d8a77a48bd7b17f1974a2.tar.bz2
gentoo-1f9577f6c5cd6590517d8a77a48bd7b17f1974a2.zip
sys-boot/vboot-utils: handle USE=static & static-libs interaction #553994
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild6
1 files 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}