Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2017 21:03:06 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432594 - head/net-p2p/cpuminer
Message-ID:  <201701272103.v0RL36TG091383@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Fri Jan 27 21:03:06 2017
New Revision: 432594
URL: https://svnweb.freebsd.org/changeset/ports/432594

Log:
  Update cpuminer to 2.4.5

Modified:
  head/net-p2p/cpuminer/Makefile
  head/net-p2p/cpuminer/distinfo

Modified: head/net-p2p/cpuminer/Makefile
==============================================================================
--- head/net-p2p/cpuminer/Makefile	Fri Jan 27 20:57:56 2017	(r432593)
+++ head/net-p2p/cpuminer/Makefile	Fri Jan 27 21:03:06 2017	(r432594)
@@ -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}

Modified: head/net-p2p/cpuminer/distinfo
==============================================================================
--- head/net-p2p/cpuminer/distinfo	Fri Jan 27 20:57:56 2017	(r432593)
+++ head/net-p2p/cpuminer/distinfo	Fri Jan 27 21:03:06 2017	(r432594)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701272103.v0RL36TG091383>