mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user