From: Amir Ghassemi Nasr Date: Fri, 19 May 2017 07:40:14 +0000 (+0430) Subject: app-portage/deltup: ability to use libressl X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d4b990da19a0bc779480169b81fe16fb4c8863ff;p=gentoo.git 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 --- diff --git a/app-portage/deltup/deltup-0.4.6.ebuild b/app-portage/deltup/deltup-0.4.6.ebuild index ad9ce82c8e08..cdc06476fffe 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* )"