commit:     b704d0f8ccfe2d4554616aae3dc9258b86051e6f
Author:     Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 16:43:07 2019 +0000
Commit:     Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 16:48:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b704d0f8

net-analyzer/cacti-spine: add USE=libressl

Reported-by: Reuben Farrelly <reuben-gentoo-bugzilla <AT> reub.net>
Closes: https://bugs.gentoo.org/613402
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>

 net-analyzer/cacti-spine/cacti-spine-1.2.5-r1.ebuild | 4 +++-
 net-analyzer/cacti-spine/cacti-spine-99999.ebuild    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/cacti-spine/cacti-spine-1.2.5-r1.ebuild 
b/net-analyzer/cacti-spine/cacti-spine-1.2.5-r1.ebuild
index e99df50dcae..752dc560a7c 100644
--- a/net-analyzer/cacti-spine/cacti-spine-1.2.5-r1.ebuild
+++ b/net-analyzer/cacti-spine/cacti-spine-1.2.5-r1.ebuild
@@ -13,9 +13,11 @@ 
SRC_URI="https://www.cacti.net/downloads/spine/${MY_P}.tar.gz";
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="libressl"
 
 CDEPEND="
-       dev-libs/openssl:0=
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        net-analyzer/net-snmp:=
        dev-db/mysql-connector-c:0=
 "

diff --git a/net-analyzer/cacti-spine/cacti-spine-99999.ebuild 
b/net-analyzer/cacti-spine/cacti-spine-99999.ebuild
index 04d2228f341..3eacb02e847 100644
--- a/net-analyzer/cacti-spine/cacti-spine-99999.ebuild
+++ b/net-analyzer/cacti-spine/cacti-spine-99999.ebuild
@@ -13,9 +13,11 @@ EGIT_REPO_URI="https://github.com/Cacti/spine";
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS=""
+IUSE="libressl"
 
 CDEPEND="
-       dev-libs/openssl:0=
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        net-analyzer/net-snmp:=
        dev-db/mysql-connector-c:0=
 "

Reply via email to