FreeBSD Bugzilla – Attachment 128801 Details for
Bug 172686
Update games/stockfish to to 2.3.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.98 KB, created by
Gautam Mani
on 2012-10-14 09:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Gautam Mani
Created:
2012-10-14 09:40:01 UTC
Size:
2.98 KB
patch
obsolete
>diff --git a/ports/stockfish/Makefile b/ports/stockfish/Makefile >index 32d621b..ff2ac84 100644 >--- a/ports/stockfish/Makefile >+++ b/ports/stockfish/Makefile >@@ -2,18 +2,18 @@ > # Date created: Apr 21 2011 > # Whom: Gautam Mani <execve@gmail.com> > # >-# $FreeBSD: ports/games/stockfish/Makefile,v 1.5 2012/01/30 18:49:03 jgh Exp $ >+# $FreeBSD$ > # > > PORTNAME= stockfish >-PORTVERSION= 2.2.2 >+PORTVERSION= 2.3.1 > CATEGORIES= games >-MASTER_SITES= http://dl.dropbox.com/u/2116588/sf-archive/:src \ >+MASTER_SITES= http://cl.ly/2t3y2k2Y3Y1H/download/:src \ > http://www.execve.net/sf/:src \ > http://f.cl.ly/items/1y0Q3P2n0I2S0g0Y100E/:book \ > http://www.execve.net/sf/:book >-DISTNAME= stockfish-${PORTVERSION:S/.//g}-ja >-DISTFILES= stockfish-${PORTVERSION:S/.//g}-ja.zip:src \ >+DISTNAME= stockfish-${PORTVERSION:S/.//g}-linux >+DISTFILES= stockfish-${PORTVERSION:S/.//g}-linux.zip:src \ > sf-211-book.zip:book > > MAINTAINER= execve@gmail.com >@@ -28,17 +28,21 @@ MYARCH= ${ARCH} > BOOKDIR= sf-211-book > PORTDOCS= Readme.txt polyglot.ini > PORTDATA= Book.bin >+FETCH_ARGS= "-Fpr" > > PLIST_FILES= bin/stockfish > PLIST_DIRSTRY= share/data/${PORTNAME} \ > share/docs/${PORTNAME} > >-ALL_TARGET= build ARCH=${MYARCH} >+TGTBLD= build >+MYCC= gcc > >-OPTIONS= POPCNT_PROFILE_BUILD "Make a Profile build (POPCNT enabled)" Off \ >- PROFILE_BUILD "Make a Profile build" Off >+.if ${CC} == "clang" || ${CXX} == "clang++" >+MYCC= clang >+.endif > >-TGTBLD= build >+OPTIONS= POPCNT_ENABLED "Use the POPCNT instruction" Off \ >+ PROFILE_BUILD "Make a Profile build" Off > > .include <bsd.port.options.mk> > >@@ -46,21 +50,25 @@ TGTBLD= build > TGTBLD= profile-build > .endif > >-.if defined(WITH_POPCNT_PROFILE_BUILD) >+.if defined(WITH_POPCNT_ENABLED) > .if ${ARCH} != "amd64" >-BROKEN= WITH_POPCNT_PROFILE_BUILD compiles only on amd64 >+BROKEN= WITH_POPCNT_ENABLED compiles only on amd64 > .endif >-TGTBLD= popcnt-profile-build > .endif > > .include <bsd.port.pre.mk> > > # workaround the ARCH usage in the stockfish Makefile >-.if ${MYARCH} == "i386" >-ALL_TARGET= ${TGTBLD} ARCH=x86-32 >-.elif ${MYARCH} == "amd64" >-ALL_TARGET= ${TGTBLD} ARCH=x86-64 >+.if ${ARCH} == "i386" >+MYARCH= x86-32 >+.elif ${ARCH} == "amd64" >+.if defined(WITH_POPCNT_ENABLED) >+MYARCH= x86-64-modern >+.else >+MYARCH= x86-64 >+.endif > .endif >+ALL_TARGET= ${TGTBLD} ARCH=${MYARCH} COMP=${MYCC} > > .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" > BROKEN= Does not compile on ia64, powerpc, or sparc64 >diff --git a/ports/stockfish/distinfo b/ports/stockfish/distinfo >index 5e17538..fca568a 100644 >--- a/ports/stockfish/distinfo >+++ b/ports/stockfish/distinfo >@@ -1,4 +1,4 @@ >-SHA256 (stockfish-222-ja.zip) = 068ccf7d1088e2df880fcfd326f0ac3920b05953d34ec39e6265391328d6fb9b >-SIZE (stockfish-222-ja.zip) = 2272728 >+SHA256 (stockfish-231-linux.zip) = 119acf339d18b8b23c6142a72c9d8e09edf385c20a811a458bc0b63472c6a682 >+SIZE (stockfish-231-linux.zip) = 852252 > SHA256 (sf-211-book.zip) = fc4b2964128278dcf076b1601a5fb7a6cc88d87d9f617d32fa82aeb05cfdff74 > SIZE (sf-211-book.zip) = 8831695
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 172686
: 128801 |
128802