diff options
author | Martin Matuska <mm@FreeBSD.org> | 2017-01-27 21:03:06 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2017-01-27 21:03:06 +0000 |
commit | 8e64464e0ea461dea8ad8461b8440ea0cfb212c7 (patch) | |
tree | b73bd26d1c2995897a26362ea640f6a9a6ed1290 /net-p2p | |
parent | 7be64678c4784d78f0a21bbc2b8ea7c8e035d56e (diff) | |
download | ports-8e64464e0ea461dea8ad8461b8440ea0cfb212c7.tar.gz ports-8e64464e0ea461dea8ad8461b8440ea0cfb212c7.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/cpuminer/Makefile | 15 | ||||
-rw-r--r-- | net-p2p/cpuminer/distinfo | 5 |
2 files changed, 13 insertions, 7 deletions
diff --git a/net-p2p/cpuminer/Makefile b/net-p2p/cpuminer/Makefile index d1b8eb686475..7d083888da61 100644 --- a/net-p2p/cpuminer/Makefile +++ b/net-p2p/cpuminer/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= cpuminer -PORTVERSION= 2.4 -PORTREVISION= 3 +PORTVERSION= 2.4.5 CATEGORIES= net-p2p math MASTER_SITES= SF/cpuminer DISTNAME= pooler-${PORTNAME}-${PORTVERSION} @@ -16,17 +15,23 @@ LICENSE= GPLv2 LIB_DEPENDS= libcurl.so:ftp/curl \ libjansson.so:devel/jansson +OPTIONS_DEFINE= GCC +OPTIONS_DEFAULT=GCC + USES= autoreconf cpe GNU_CONFIGURE= yes CPE_VENDOR= cpuminer_project WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -# gcc 4.6 yields higher hashrates on newer CPUs, gcc 4.8 even better -USE_GCC?= yes PLIST_FILES= bin/minerd man/man1/minerd.1.gz PORTDOCS= NEWS README -OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MGCC} +# gcc yields higher hashrates on newer CPUs +USE_GCC?= yes +.endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/net-p2p/cpuminer/distinfo b/net-p2p/cpuminer/distinfo index 400a3d5b08c7..336a0a681e12 100644 --- a/net-p2p/cpuminer/distinfo +++ b/net-p2p/cpuminer/distinfo @@ -1,2 +1,3 @@ -SHA256 (pooler-cpuminer-2.4.tar.gz) = 3d5b7bc01ff52db013d8a551984f9699864e0def5b87528813e34c168662837a -SIZE (pooler-cpuminer-2.4.tar.gz) = 240445 +TIMESTAMP = 1485550652 +SHA256 (pooler-cpuminer-2.4.5.tar.gz) = 1008013462c517ffd80a8c0f2b26a8532d69e5772759c413fd2ad5c5b6590a8c +SIZE (pooler-cpuminer-2.4.5.tar.gz) = 256186 |