commit:     d4b990da19a0bc779480169b81fe16fb4c8863ff
Author:     Amir Ghassemi Nasr <Ameretat.Reith <AT> gmail <DOT> com>
AuthorDate: Fri May 19 07:40:14 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 19 10:51:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b990da

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 ad9ce82c8e0..cdc06476fff 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* )"
 

Reply via email to