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

net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild

index 021412e611625645c5e548f8256f17b9180fae1d..263c60c1bbd9fb69a40be352a73ac8cd49c87c8a 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 
 inherit eutils multilib toolchain-funcs
 
@@ -13,11 +13,12 @@ SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux"
-IUSE="crypt debug static-libs"
+IUSE="crypt debug libressl static-libs"
 
 # Hard dep on SSL since libnasl won't compile when this package is emerged -ssl.
 DEPEND="
-       dev-libs/openssl
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        net-libs/libpcap"
 RDEPEND="${DEPEND}"