commit:     a2f655954c5ab339342e4e390b08d02f524164d6
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  9 15:48:25 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct  9 16:18:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2f65595

net-ftp/ftp: Support libressl (#565378)

Package-Manager: portage-2.3.1

 net-ftp/ftp/ftp-0.17.23.0.2.1.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/net-ftp/ftp/ftp-0.17.23.0.2.1.ebuild 
b/net-ftp/ftp/ftp-0.17.23.0.2.1.ebuild
index 1fcb673..2cc43cf 100644
--- a/net-ftp/ftp/ftp-0.17.23.0.2.1.ebuild
+++ b/net-ftp/ftp/ftp-0.17.23.0.2.1.ebuild
@@ -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$
 
@@ -21,11 +21,15 @@ 
SRC_URI="ftp://sunsite.unc.edu/pub/Linux/system/network/netkit/${MY_P}.tar.gz
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86"
-IUSE="ipv6 readline ssl"
+IUSE="ipv6 libressl readline ssl"
 
-RDEPEND=">=sys-libs/ncurses-5.2:=
+RDEPEND="
+       >=sys-libs/ncurses-5.2:=
        readline? ( sys-libs/readline:0= )
-       ssl? ( dev-libs/openssl:0= )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= ) )
+"
 DEPEND="${RDEPEND}"
 
 S=${WORKDIR}/${MY_P}

Reply via email to