commit:     5d65b5571447c81a5c05c71c1d7b49fee9d06221
Author:     Stefan Strogin <stefan.strogin <AT> gmail <DOT> com>
AuthorDate: Wed Feb 20 21:40:43 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Feb 22 23:36:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d65b557

dev-cpp/commoncpp2: add USE=libressl

Closes: https://bugs.gentoo.org/678440
Package-Manager: Portage-2.3.61, Repoman-2.3.12
Signed-off-by: Stefan Strogin <stefan.strogin <AT> gmail.com>
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-cpp/commoncpp2/commoncpp2-1.8.1-r4.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/commoncpp2/commoncpp2-1.8.1-r4.ebuild 
b/dev-cpp/commoncpp2/commoncpp2-1.8.1-r4.ebuild
index f5f40d898c1..797bc478eb2 100644
--- a/dev-cpp/commoncpp2/commoncpp2-1.8.1-r4.ebuild
+++ b/dev-cpp/commoncpp2/commoncpp2-1.8.1-r4.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://www.gnu.org/software/commoncpp/";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="debug doc examples ipv6 gnutls ssl static-libs"
+IUSE="debug doc examples gnutls ipv6 libressl ssl static-libs"
 
 RDEPEND="
        sys-libs/zlib
@@ -20,7 +20,10 @@ RDEPEND="
                        dev-libs/libgcrypt:0=
                        net-libs/gnutls:=
                )
-               !gnutls? ( dev-libs/openssl:0= )
+               !gnutls? (
+                       !libressl? ( dev-libs/openssl:0= )
+                       libressl? ( dev-libs/libressl:0= )
+               )
        )"
 DEPEND="${RDEPEND}
        doc? ( >=app-doc/doxygen-1.3.6 )"

Reply via email to