www-apps/cgit: add USE=libressl
authorStefan Strogin <steils@gentoo.org>
Thu, 2 Jan 2020 02:59:50 +0000 (04:59 +0200)
committerStefan Strogin <steils@gentoo.org>
Thu, 2 Jan 2020 03:01:09 +0000 (05:01 +0200)
Closes: https://bugs.gentoo.org/702320
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Stefan Strogin <steils@gentoo.org>
www-apps/cgit/cgit-1.2.1.ebuild

index 825e750d423c3bbb2e62223141f39925a06edc7b..04dc11ed32ecfb4364dda470d8e22c2fe255a4bf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,14 +19,15 @@ SRC_URI="https://www.kernel.org/pub/software/scm/git/git-${GIT_V}.tar.xz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 arm x86"
-IUSE="doc +highlight +lua +jit"
+IUSE="doc +highlight libressl +lua +jit"
 
 RDEPEND="
        dev-vcs/git
        sys-libs/zlib
-       dev-libs/openssl:0
        virtual/httpd-cgi
        highlight? ( || ( dev-python/pygments app-text/highlight ) )
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        lua? ( jit? ( dev-lang/luajit ) !jit? ( dev-lang/lua:0 ) )
 "
 # ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken