net-ftp/ftp: Support libressl (#565378)
authorPacho Ramos <pacho@gentoo.org>
Sun, 9 Oct 2016 15:48:25 +0000 (17:48 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 9 Oct 2016 16:18:48 +0000 (18:18 +0200)
Package-Manager: portage-2.3.1

net-ftp/ftp/ftp-0.17.23.0.2.1.ebuild

index 1fcb67345276b58f4159fc0422a92a84e5cc168c..2cc43cf1556c2e0437bd2b9a56a157f15ced3d55 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$
 
@@ -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}