commit: ecf767fe583c3b8e3e3e697cdced7c0e6e4755c4 Author: Felix Janda <felix.janda <AT> posteo <DOT> de> AuthorDate: Sun Aug 2 22:07:27 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Aug 7 17:57:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf767fe
www-client/elinks: add support for gnutls Signed-off-by: Felix Janda <felix.janda <AT> posteo.de> Signed-off-by: Sam James <sam <AT> gentoo.org> www-client/elinks/elinks-9999.ebuild | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/www-client/elinks/elinks-9999.ebuild b/www-client/elinks/elinks-9999.ebuild index 0fd8b8d67f7..16eb304d3e7 100644 --- a/www-client/elinks/elinks-9999.ebuild +++ b/www-client/elinks/elinks-9999.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="http://elinks.or.cz/" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm guile idn ipv6 +IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn ipv6 javascript libressl lua +mouse nls nntp perl ruby samba ssl tre unicode X xml zlib" BDEPEND="virtual/pkgconfig" @@ -31,8 +31,11 @@ RDEPEND=" ruby? ( dev-lang/ruby:* dev-ruby/rubygems:* ) samba? ( net-fs/samba ) ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) + !gnutls? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + gnutls? ( net-libs/gnutls:= ) ) tre? ( dev-libs/tre ) X? ( x11-libs/libX11 x11-libs/libXt ) @@ -96,11 +99,12 @@ src_configure() { myconf+=( --enable-fastmem ) fi - # NOTE about GNUTSL SSL support (from the README -- 25/12/2002) - # As GNUTLS is not yet 100% stable and its support in ELinks is not so well - # tested yet, it's recommended for users to give a strong preference to OpenSSL whenever possible. if use ssl ; then - myconf+=( --with-openssl="${EPREFIX}"/usr ) + if use gnutls ; then + myconf+=( --with-gnutls ) + else + myconf+=( --with-openssl="${EPREFIX}"/usr ) + fi else myconf+=( --without-openssl --without-gnutls ) fi