sys-boot/vboot-utils: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Sun, 31 Jul 2016 20:34:05 +0000 (16:34 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sun, 31 Jul 2016 20:34:05 +0000 (16:34 -0400)
Package-Manager: portage-2.2.28

sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild
sys-boot/vboot-utils/vboot-utils-51_p20160427.ebuild

index c8107944cee771575c496bbf362d1071e30f7b9d..bdc9f9c181a93ac99c801abfb54783b6aa07251b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,9 +18,11 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
-IUSE="minimal static"
+IUSE="libressl minimal static"
 
-LIB_DEPEND="dev-libs/openssl:0=[static-libs(+)]
+LIB_DEPEND="
+       !libressl? ( dev-libs/openssl:0=[static-libs(+)] )
+       libressl? ( dev-libs/libressl:0=[static-libs(+)] )
        sys-apps/util-linux:=[static-libs(+)]"
 RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
        !minimal? (
index 18a27d7506d73e3012b825652533d670a7bf0eb9..fb7169b2cf6ff60010e54584fbfeb769dad21d5e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,9 +18,11 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
-IUSE="minimal static"
+IUSE="libressl minimal static"
 
-LIB_DEPEND="dev-libs/openssl:0=[static-libs(+)]
+LIB_DEPEND="
+       !libressl? ( dev-libs/openssl:0=[static-libs(+)] )
+       libressl? ( dev-libs/libressl:0=[static-libs(+)] )
        sys-apps/util-linux:=[static-libs(+)]"
 RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
        !minimal? (