net-misc/xmrig: Fix install with USE=-ssl

Closes: https://bugs.gentoo.org/795180
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Matt Smith <matt@offtopica.uk>
Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
Matt Smith
2021-06-10 20:44:12 -04:00
committed by Craig Andrews
parent aef365f164
commit 5fcfb5ae62
3 changed files with 27 additions and 0 deletions
@@ -0,0 +1,23 @@
From ee98bfe01a94d021d81ed4c2bb11ec91c0bd81c8 Mon Sep 17 00:00:00 2001
From: Matt Smith <matt@offtopica.uk>
Date: Sun, 7 Jun 2020 13:20:04 +0100
Subject: [PATCH] Don't suffix binary with -notls
---
cmake/OpenSSL.cmake | 2 --
1 file changed, 2 deletions(-)
diff --git a/cmake/OpenSSL.cmake b/cmake/OpenSSL.cmake
index 89805301..c01c940a 100644
--- a/cmake/OpenSSL.cmake
+++ b/cmake/OpenSSL.cmake
@@ -54,6 +54,4 @@ else()
src/base/net/http/HttpServer.h
)
endif()
-
- set(CMAKE_PROJECT_NAME "${CMAKE_PROJECT_NAME}-notls")
endif()
--
2.27.0
+2
View File
@@ -30,6 +30,8 @@ RDEPEND="
sys-apps/msr-tools
"
PATCHES=( "${FILESDIR}"/${PN}-6.12.2-nonotls.patch )
src_prepare() {
if ! use donate ; then
sed -i 's/1;/0;/g' src/donate.h || die
+2
View File
@@ -30,6 +30,8 @@ RDEPEND="
sys-apps/msr-tools
"
PATCHES=( "${FILESDIR}"/${PN}-6.12.2-nonotls.patch )
src_prepare() {
if ! use donate ; then
sed -i 's/1;/0;/g' src/donate.h || die