FreeBSD Bugzilla – Attachment 156893 Details for
Bug 200293
[PATCH] benchmarks/fhourstones: Update MASTER_SITES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
benchmarks_fhourstones.diff
benchmarks_fhourstones.diff (text/plain), 3.61 KB, created by
tkato432
on 2015-05-18 18:31:34 UTC
(
hide
)
Description:
benchmarks_fhourstones.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2015-05-18 18:31:34 UTC
Size:
3.61 KB
patch
obsolete
>diff -urN /usr/ports/benchmarks/fhourstones/Makefile benchmarks/fhourstones/Makefile >--- /usr/ports/benchmarks/fhourstones/Makefile 2015-04-06 05:20:58.761784000 +0900 >+++ benchmarks/fhourstones/Makefile 2015-05-19 00:00:00.000000000 +0900 >@@ -3,26 +3,45 @@ > > PORTNAME= fhourstones > PORTVERSION= 3.1 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= benchmarks >-MASTER_SITES= http://homepages.cwi.nl/~tromp/c4/ >+MASTER_SITES= http://tromp.github.io/c4/ > DISTNAME= Fhourstones > > MAINTAINER= ports@FreeBSD.org >-COMMENT= The Fhourstones Benchmark >+COMMENT= Integrated benchmark program > >-BROKEN= Unfetchable > NO_WRKSUBDIR= yes >-PLIST_FILES= bin/fhourstones lib/fhourstones/SearchGame lib/fhourstones/inputs >+ >+PLIST_FILES= bin/fhourstones \ >+ libexec/fhourstones/SearchGame \ >+ %%DATADIR%%/inputs > > post-patch: >- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile >- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/fhourstones >+ @${REINPLACE_CMD} -e \ >+ 's| = -O3| +=|' ${WRKSRC}/Makefile >+ >+post-build: >+ @${ECHO_CMD} -n > ${WRKSRC}/fhourstones >+ @${ECHO_CMD} '#!${SH}' \ >+ >> ${WRKSRC}/fhourstones >+ @${ECHO_CMD} 'libexecdir=${PREFIX}/libexec/fhourstones' \ >+ >> ${WRKSRC}/fhourstones >+ @${ECHO_CMD} 'datadir=${DATADIR}' \ >+ >> ${WRKSRC}/fhourstones >+ @${ECHO_CMD} \ >+ >> ${WRKSRC}/fhourstones >+ @${ECHO_CMD} 'exec $${libexecdir}/SearchGame < $${datadir}/inputs' \ >+ >> ${WRKSRC}/fhourstones > > do-install: >- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/fhourstones >- ${INSTALL_SCRIPT} ${WRKDIR}/fhourstones ${STAGEDIR}${PREFIX}/bin >- ${INSTALL_PROGRAM} ${WRKDIR}/SearchGame ${STAGEDIR}${PREFIX}/lib/fhourstones >- ${INSTALL_DATA} ${WRKDIR}/inputs ${STAGEDIR}${PREFIX}/lib/fhourstones >+ (cd ${WRKSRC} && ${INSTALL_SCRIPT} fhourstones \ >+ ${STAGEDIR}${PREFIX}/bin) >+ @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/fhourstones >+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} SearchGame \ >+ ${STAGEDIR}${PREFIX}/libexec/fhourstones) >+ @${MKDIR} ${STAGEDIR}${DATADIR} >+ (cd ${WRKSRC} && ${INSTALL_DATA} inputs \ >+ ${STAGEDIR}${DATADIR}) > > .include <bsd.port.mk> >diff -urN /usr/ports/benchmarks/fhourstones/files/patch-Makefile benchmarks/fhourstones/files/patch-Makefile >--- /usr/ports/benchmarks/fhourstones/files/patch-Makefile 2014-06-21 17:48:16.000000000 +0900 >+++ benchmarks/fhourstones/files/patch-Makefile 1970-01-01 09:00:00.000000000 +0900 >@@ -1,10 +0,0 @@ >---- Makefile.orig 2008-06-17 21:47:28.000000000 +0200 >-+++ Makefile 2008-06-17 21:47:37.000000000 +0200 >-@@ -1,6 +1,6 @@ >- # GNU Makefile >- >--CFLAGS = -O3 -Wextra -Wall >-+CFLAGS += -Wextra -Wall >- CFILES = SearchGame.c TransGame.c Game.c >- JAVAFILES = SearchGame.java Connect4.java Game.java TransGame.java >- HASKELLFILES = Main.hs Connect4.hs GameTreeSearch.hs >diff -urN /usr/ports/benchmarks/fhourstones/files/patch-fhourstones benchmarks/fhourstones/files/patch-fhourstones >--- /usr/ports/benchmarks/fhourstones/files/patch-fhourstones 2014-06-21 17:48:16.000000000 +0900 >+++ benchmarks/fhourstones/files/patch-fhourstones 1970-01-01 09:00:00.000000000 +0900 >@@ -1,7 +0,0 @@ >---- /dev/null Thu Nov 23 08:52:26 2006 >-+++ fhourstones Thu Nov 23 08:45:21 2006 >-@@ -0,0 +1,4 @@ >-+#!/bin/sh >-+ >-+exec %%PREFIX%%/lib/fhourstones/SearchGame < %%PREFIX%%/lib/fhourstones/inputs >-+ >diff -urN /usr/ports/benchmarks/fhourstones/pkg-descr benchmarks/fhourstones/pkg-descr >--- /usr/ports/benchmarks/fhourstones/pkg-descr 2014-06-21 17:48:16.000000000 +0900 >+++ benchmarks/fhourstones/pkg-descr 2015-05-19 00:00:00.000000000 +0900 >@@ -2,4 +2,4 @@ > as played on a vertical 7x6 board. This takes about 10 minutes > on contemporary PCs. > >-WWW: http://homepages.cwi.nl/~tromp/c4/fhour.html >+WWW: http://tromp.github.io/c4/fhour.html
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 200293
: 156893