commit:     a18e99a64734c9970ae93f101990a28fb44bcae1
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 02:50:07 2018 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 02:50:18 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a18e99a6

dev-qt/qtnetwork: introduce libressl support

Bug: https://bugs.gentoo.org/562050
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-qt/qtnetwork/qtnetwork-5.9.4.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-qt/qtnetwork/qtnetwork-5.9.4.ebuild 
b/dev-qt/qtnetwork/qtnetwork-5.9.4.ebuild
index 3cb593402d3..94849a21a39 100644
--- a/dev-qt/qtnetwork/qtnetwork-5.9.4.ebuild
+++ b/dev-qt/qtnetwork/qtnetwork-5.9.4.ebuild
@@ -11,7 +11,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
        KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
 fi
 
-IUSE="bindist connman libproxy networkmanager +ssl"
+IUSE="bindist connman libproxy libressl networkmanager +ssl"
 
 DEPEND="
        ~dev-qt/qtcore-${PV}
@@ -19,7 +19,10 @@ DEPEND="
        connman? ( ~dev-qt/qtdbus-${PV} )
        libproxy? ( net-libs/libproxy )
        networkmanager? ( ~dev-qt/qtdbus-${PV} )
-       ssl? ( dev-libs/openssl:0=[bindist=] )
+       ssl? (
+               !libressl? ( dev-libs/openssl:0=[bindist=] )
+               libressl? ( dev-libs/libressl:0= )
+       )
 "
 RDEPEND="${DEPEND}
        connman? ( net-misc/connman )

Reply via email to