diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2019-08-30 06:53:30 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2019-08-30 06:53:30 +0000 |
commit | 57e4591cb4bfdf9661c1efe996b165ecb9275eea (patch) | |
tree | 63f51fbae8931ad6f4ec3f39c431f240dfb7a78b /net-p2p | |
parent | 839136b2e05eda98044584b39eb45d16b1de34ff (diff) | |
download | ports-57e4591cb4bfdf9661c1efe996b165ecb9275eea.tar.gz ports-57e4591cb4bfdf9661c1efe996b165ecb9275eea.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/xmrig/Makefile | 17 | ||||
-rw-r--r-- | net-p2p/xmrig/distinfo | 6 |
2 files changed, 15 insertions, 8 deletions
diff --git a/net-p2p/xmrig/Makefile b/net-p2p/xmrig/Makefile index 13f313e6b6c6..61f57a007a03 100644 --- a/net-p2p/xmrig/Makefile +++ b/net-p2p/xmrig/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= xmrig -PORTVERSION= 2.14.4 +PORTVERSION= 3.1.0 DISTVERSIONPREFIX= v CATEGORIES= net-p2p @@ -25,18 +25,25 @@ SUB_FILES= pkg-message SUB_LIST= PORTNAME=${PORTNAME} USERS=${USERS} USERS= xmrig -OPTIONS_DEFINE= STATIC MICROHTTPD +OPTIONS_DEFINE= STATIC MICROHTTPD HWLOC +HWLOC_DESC= Portable hardware locality MICROHTTPD_DESC=Build with libmicrohttpd support -OPTIONS_DEFAULT=MICROHTTPD +OPTIONS_DEFAULT=MICROHTTPD HWLOC -STATIC_PREVENTS=MICROHTTPD -STATIC_PREVENTS_MSG= libmicrohttpd support cannot be built static +STATIC_PREVENTS=HWLOC MICROHTTPD +STATIC_PREVENTS_MSG= hwloc and libmicrohttpd support cannot be built static + +HWLOC_LIB_DEPENDS+= libhwloc.so:devel/hwloc MICROHTTPD_LIB_DEPENDS+= libmicrohttpd.so:www/libmicrohttpd \ libuv.so:devel/libuv STATIC_BUILD_DEPENDS+= ${LOCALBASE}/lib/libuv.a:devel/libuv +post-patch-HWLOC-off: + @${REINPLACE_CMD} -e 's|\(.*WITH_HWLOC.*\)\(ON\)|\1OFF|' \ + ${WRKSRC}/CMakeLists.txt + post-patch-MICROHTTPD-off: @${REINPLACE_CMD} -e 's|\(.*WITH_HTTPD.*\)\(ON\)|\1OFF|' \ ${WRKSRC}/CMakeLists.txt diff --git a/net-p2p/xmrig/distinfo b/net-p2p/xmrig/distinfo index 467e423ebaa7..d8329d9d4d65 100644 --- a/net-p2p/xmrig/distinfo +++ b/net-p2p/xmrig/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1559298268 -SHA256 (xmrig-xmrig-v2.14.4_GH0.tar.gz) = 7e827ece5df61ab1e23dda40940ad2f7946dc006fced86836aed3a26dcdc185e -SIZE (xmrig-xmrig-v2.14.4_GH0.tar.gz) = 367583 +TIMESTAMP = 1567142488 +SHA256 (xmrig-xmrig-v3.1.0_GH0.tar.gz) = 923e5fdc3a74dd929590016d0cfe60a98a99d8485f21921d86510440abc59be9 +SIZE (xmrig-xmrig-v3.1.0_GH0.tar.gz) = 839149 |