From owner-svn-ports-head@FreeBSD.ORG Fri Nov 8 15:08:31 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 10D68347; Fri, 8 Nov 2013 15:08:31 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ECFB92F03; Fri, 8 Nov 2013 15:08:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA8F8U0Y029089; Fri, 8 Nov 2013 15:08:30 GMT (envelope-from mm@svn.freebsd.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA8F8UAf029088; Fri, 8 Nov 2013 15:08:30 GMT (envelope-from mm@svn.freebsd.org) Message-Id: <201311081508.rA8F8UAf029088@svn.freebsd.org> From: Martin Matuska Date: Fri, 8 Nov 2013 15:08:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333239 - head/net-p2p/cpuminer X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2013 15:08:31 -0000 Author: mm Date: Fri Nov 8 15:08:30 2013 New Revision: 333239 URL: http://svnweb.freebsd.org/changeset/ports/333239 Log: Depend on gcc 4.6+ to get substantially higher hashrates on modern CPUs Modified: head/net-p2p/cpuminer/Makefile Modified: head/net-p2p/cpuminer/Makefile ============================================================================== --- head/net-p2p/cpuminer/Makefile Fri Nov 8 15:06:28 2013 (r333238) +++ head/net-p2p/cpuminer/Makefile Fri Nov 8 15:08:30 2013 (r333239) @@ -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/ 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 - -.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 +.include