diff options
author | Martin Matuska <mm@FreeBSD.org> | 2013-11-08 15:08:30 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2013-11-08 15:08:30 +0000 |
commit | 272e70edebf693f17de37cce4bf10fe2a02c6d1e (patch) | |
tree | e492a4002082a126ebd67075ec346bab145e8363 /net-p2p | |
parent | Support STAGEDIR. (diff) |
Depend on gcc 4.6+ to get substantially higher hashrates on modern CPUs
Notes
Notes:
svn path=/head/; revision=333239
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/cpuminer/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/net-p2p/cpuminer/Makefile b/net-p2p/cpuminer/Makefile index 24acd2cfe23f..b69036bd6b6c 100644 --- a/net-p2p/cpuminer/Makefile +++ b/net-p2p/cpuminer/Makefile @@ -3,7 +3,7 @@ PORTNAME= cpuminer PORTVERSION= 2.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-p2p math MASTER_SITES= SF MASTER_SITE_SUBDIR= cpuminer @@ -20,19 +20,15 @@ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_AUTOTOOLS= aclocal autoheader automake autoconf AUTOMAKE_ARGS= --gnu --add-missing --copy +# gcc 4.6 yields higher hashrates on newer CPUs, gcc 4.8 even better +USE_GCC?= yes PLIST_FILES= bin/minerd -.include <bsd.port.pre.mk> - -.if ${OSVERSION} > 1000000 -USE_GCC= yes -.endif - post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ .for FILE in NEWS README ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/ .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> |