net-analyzer/nagircbot: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Wed, 13 Jul 2016 19:16:11 +0000 (15:16 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Wed, 13 Jul 2016 19:16:11 +0000 (15:16 -0400)
Package-Manager: portage-2.2.28

net-analyzer/nagircbot/nagircbot-0.0.33.ebuild

index 5712d19a96e0d77bbd014905d93a147666a39ae5..ea0a54b0dbd1f1e4b71716f04b2886ba81f2204d 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 
 inherit toolchain-funcs
 
@@ -13,9 +13,11 @@ SRC_URI="http://www.vanheusden.com/nagircbot/${P}.tgz"
 LICENSE="GPL-2" # GPL-2 only
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
+IUSE="libressl"
 
-CDEPEND="dev-libs/openssl"
+CDEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )"
 DEPEND="virtual/pkgconfig
        ${CDEPEND}"
 RDEPEND="net-analyzer/nagios-core