From d4b990da19a0bc779480169b81fe16fb4c8863ff Mon Sep 17 00:00:00 2001 From: Amir Ghassemi Nasr Date: Fri, 19 May 2017 12:10:14 +0430 Subject: [PATCH] app-portage/deltup: ability to use libressl Introducing libressl USE for app-portage/deltup-0.4.6 Closes: https://github.com/gentoo/gentoo/pull/4676 --- app-portage/deltup/deltup-0.4.6.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app-portage/deltup/deltup-0.4.6.ebuild b/app-portage/deltup/deltup-0.4.6.ebuild index ad9ce82c8e081..cdc06476fffe0 100644 --- a/app-portage/deltup/deltup-0.4.6.ebuild +++ b/app-portage/deltup/deltup-0.4.6.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit eutils toolchain-funcs @@ -15,11 +15,14 @@ S="${WORKDIR}/${MY_PN}-${PV}/src" SLOT="0" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="" +IUSE="libressl" -DEPEND="dev-libs/openssl:0 +DEPEND=" sys-libs/zlib - app-arch/bzip2" + app-arch/bzip2 + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= ) +" RDEPEND="${DEPEND} || ( dev-util/bdelta =dev-util/xdelta-1* )"