From owner-svn-ports-all@freebsd.org Fri Dec 21 19:23:47 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9E331354761; Fri, 21 Dec 2018 19:23:46 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F2E180844; Fri, 21 Dec 2018 19:23:46 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 480B319DB8; Fri, 21 Dec 2018 19:23:46 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBLJNkju075818; Fri, 21 Dec 2018 19:23:46 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBLJNjqO075813; Fri, 21 Dec 2018 19:23:45 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <201812211923.wBLJNjqO075813@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Fri, 21 Dec 2018 19:23:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488019 - in head/games/stockfish: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: in head/games/stockfish: . files X-SVN-Commit-Revision: 488019 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6F2E180844 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2018 19:23:47 -0000 Author: fernape Date: Fri Dec 21 19:23:45 2018 New Revision: 488019 URL: https://svnweb.freebsd.org/changeset/ports/488019 Log: games/stockfish: update to 10 Add LDFLAGS+= -fuse-ld=lld so the port builds regardless of the linker differences between FreeBSD releases. Not much in the release notes: http://blog.stockfishchess.org/post/180691011237/stockfish-10 SF 10 improves by about 50 ELO in self-play compared to SF 9. PR: 234035 Submitted by: execve@gmail.com (maintainer) Modified: head/games/stockfish/Makefile head/games/stockfish/distinfo head/games/stockfish/files/patch-Makefile Modified: head/games/stockfish/Makefile ============================================================================== --- head/games/stockfish/Makefile Fri Dec 21 17:25:15 2018 (r488018) +++ head/games/stockfish/Makefile Fri Dec 21 19:23:45 2018 (r488019) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= stockfish -DISTVERSION= 9 -PORTREVISION= 1 +DISTVERSION= 10 DISTVERSIONSUFFIX= -src CATEGORIES= games MASTER_SITES= http://stockfish.s3.amazonaws.com/ @@ -27,6 +26,8 @@ WRKSRC_SUBDIR= src MYARCH= ${ARCH} MYCC= ${CHOSEN_COMPILER_TYPE} TGTBLD= build + +LDFLAGS+= -fuse-ld=lld PLIST_FILES= bin/stockfish PORTDOCS= Readme.md Modified: head/games/stockfish/distinfo ============================================================================== --- head/games/stockfish/distinfo Fri Dec 21 17:25:15 2018 (r488018) +++ head/games/stockfish/distinfo Fri Dec 21 19:23:45 2018 (r488019) @@ -1,3 +1,3 @@ -TIMESTAMP = 1519331941 -SHA256 (stockfish-9-src.zip) = ba2e72d6973479c8c839c7f4a095d121829ebe8df39b71ebf291c84e5cb3e36e -SIZE (stockfish-9-src.zip) = 171925 +TIMESTAMP = 1545156168 +SHA256 (stockfish-10-src.zip) = 29bd01e7407098aa9e851b82f6ea4bf2b46d26e9075a48a269cb1e40c582a073 +SIZE (stockfish-10-src.zip) = 174377 Modified: head/games/stockfish/files/patch-Makefile ============================================================================== --- head/games/stockfish/files/patch-Makefile Fri Dec 21 17:25:15 2018 (r488018) +++ head/games/stockfish/files/patch-Makefile Fri Dec 21 19:23:45 2018 (r488019) @@ -1,15 +1,21 @@ ---- Makefile.orig 2018-02-22 21:13:38 UTC +--- Makefile.orig 2018-11-29 14:45:26 UTC +++ Makefile -@@ -205,10 +205,12 @@ ifeq ($(COMP),clang) - CXX=clang++ - CXXFLAGS += -pedantic -Wextra -Wshadow - ifneq ($(KERNEL),Darwin) -+ifneq ($(KERNEL),FreeBSD) - ifneq ($(KERNEL),OpenBSD) - LDFLAGS += -latomic +@@ -29,7 +29,7 @@ EXE = stockfish endif - endif -+endif - ifeq ($(ARCH),armv7) - ifeq ($(OS),Android) + ### Installation dir definitions +-PREFIX = /usr/local ++PREFIX ?= /usr/local + BINDIR = $(PREFIX)/bin + + ### Built-in benchmark for pgo-builds +@@ -211,7 +211,9 @@ ifeq ($(COMP),clang) + + ifneq ($(KERNEL),Darwin) + ifneq ($(KERNEL),OpenBSD) ++ ifneq ($(KERNEL),FreeBSD) + LDFLAGS += -latomic ++ endif + endif + endif +