www-servers/cherokee: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Mon, 12 Oct 2015 01:10:07 +0000 (21:10 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Mon, 12 Oct 2015 01:10:07 +0000 (21:10 -0400)
Package-Manager: portage-2.2.20.1

www-servers/cherokee/cherokee-1.2.104.ebuild

index a78bc089d0e4ef8ea65aed4d8dcb88c19f6bd7b9..16b7110f32f31a9ff89e0c310e7b8abc2c4efc46 100644 (file)
@@ -17,7 +17,7 @@ HOMEPAGE="http://www.cherokee-project.com/"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
-IUSE="admin ffmpeg debug geoip ipv6 kernel_linux ldap mysql nls pam php rrdtool ssl static static-libs"
+IUSE="admin ffmpeg debug geoip ipv6 kernel_linux ldap libressl mysql nls pam php rrdtool ssl static static-libs"
 
 COMMON_DEPEND="dev-libs/libpcre
        >=sys-libs/zlib-1.1.4-r1
@@ -31,7 +31,11 @@ COMMON_DEPEND="dev-libs/libpcre
                dev-lang/php[fpm]
                dev-lang/php[cgi]
        ) )
-       ssl? ( dev-libs/openssl )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0 )
+               libressl? ( dev-libs/libressl )
+       )
+       "
 DEPEND="${COMMON_DEPEND}
        nls? ( sys-devel/gettext )"
 RDEPEND="${COMMON_DEPEND}