net-analyzer/cacti-spine: add USE=libressl
authorStefan Strogin <steils@gentoo.org>
Wed, 28 Aug 2019 16:43:07 +0000 (19:43 +0300)
committerStefan Strogin <steils@gentoo.org>
Wed, 28 Aug 2019 16:48:27 +0000 (19:48 +0300)
Reported-by: Reuben Farrelly <reuben-gentoo-bugzilla@reub.net>
Closes: https://bugs.gentoo.org/613402
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Stefan Strogin <steils@gentoo.org>
net-analyzer/cacti-spine/cacti-spine-1.2.5-r1.ebuild
net-analyzer/cacti-spine/cacti-spine-99999.ebuild

index e99df50dcae1a5a6a43ee27a7a2b4b5ae57975ee..752dc560a7cd5c941cc52343a04cba2d0223b5bd 100644 (file)
@@ -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=
 "
index 04d2228f341b31479e0707df3dd4fb0ec3ea653d..3eacb02e84723ec86ed56fbc2e58dd8194e9d065 100644 (file)
@@ -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=
 "