net-libs/libircclient: add USE=libressl
authorStefan Strogin <steils@gentoo.org>
Sun, 11 Aug 2019 00:12:26 +0000 (03:12 +0300)
committerStefan Strogin <steils@gentoo.org>
Sun, 11 Aug 2019 00:12:32 +0000 (03:12 +0300)
Closes: https://bugs.gentoo.org/687418
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Stefan Strogin <steils@gentoo.org>
net-libs/libircclient/libircclient-1.10.ebuild

index 940b5f0a3967c77af91f8beb6c7101772cff06bf..03a8f11f2744d024f45c4e1ff25a70d961647c0a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,10 +11,13 @@ SRC_URI="mirror://sourceforge/libircclient/${P}.tar.gz"
 LICENSE="LGPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc ipv6 ssl static-libs threads"
+IUSE="doc ipv6 libressl ssl static-libs threads"
 
-DEPEND="ssl? ( dev-libs/openssl:0 )"
-RDEPEND=${DEPEND}
+DEPEND="ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
+RDEPEND="${DEPEND}"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-1.8-build.patch