Date: Fri, 21 Dec 2018 19:23:45 +0000 (UTC) From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488019 - in head/games/stockfish: . files Message-ID: <201812211923.wBLJNjqO075813@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812211923.wBLJNjqO075813>