aboutsummaryrefslogtreecommitdiff
path: root/games/crafty
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1999-12-03 06:02:01 +0000
committerMatthew Hunt <mph@FreeBSD.org>1999-12-03 06:02:01 +0000
commit40e8565954457da00323b2ac53f81bf49ea14006 (patch)
treed3662b6c6ce3e987f43a68c84ce1d6f04813255b /games/crafty
parent7dccd0af05e8311f381a4e2a578d2bac4df68bd6 (diff)
downloadports-40e8565954457da00323b2ac53f81bf49ea14006.tar.gz
ports-40e8565954457da00323b2ac53f81bf49ea14006.zip
Notes
Diffstat (limited to 'games/crafty')
-rw-r--r--games/crafty/Makefile12
-rw-r--r--games/crafty/distinfo2
-rw-r--r--games/crafty/files/patch-aa45
3 files changed, 28 insertions, 31 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile
index 978678d83507..5772541fdcb7 100644
--- a/games/crafty/Makefile
+++ b/games/crafty/Makefile
@@ -1,26 +1,26 @@
# New ports collection makefile for: crafty
-# Version required: 16.18
+# Version required: 17.3
# Date created: 31 May 1998
# Whom: Stefan Eggers <seggers@semyam.dinoco.de>
#
# $FreeBSD$
#
-DISTNAME= crafty-16.18
+DISTNAME= crafty-17.3
CATEGORIES= games
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/ \
ftp://ftp.cis.uab.edu/pub/hyatt/common/ \
- ftp://ftp.cis.uab.edu/pub/hyatt/v16/ \
+ ftp://ftp.cis.uab.edu/pub/hyatt/v17/ \
ftp://ftp.jpunix.com/pub/hyatt/ \
ftp://ftp.jpunix.com/pub/hyatt/common/ \
- ftp://ftp.jpunix.com/pub/hyatt/v16/
-DISTFILES= crafty-16.18.tar.gz crafty.doc crafty.faq read.me start.zip
+ ftp://ftp.jpunix.com/pub/hyatt/v17/
+DISTFILES= crafty-17.3.tar.gz crafty.doc crafty.faq read.me start.zip
MAINTAINER= seggers@semyam.dinoco.de
ALL_TARGET= crafty
DIST_SUBDIR= crafty
-EXTRACT_ONLY= crafty-16.18.tar.gz
+EXTRACT_ONLY= crafty-17.3.tar.gz
IGNOREFILES= crafty.doc crafty.faq read.me
MAN6= crafty.6
diff --git a/games/crafty/distinfo b/games/crafty/distinfo
index 813ed9c8f0cf..4b53a3610796 100644
--- a/games/crafty/distinfo
+++ b/games/crafty/distinfo
@@ -1,4 +1,4 @@
-MD5 (crafty/crafty-16.18.tar.gz) = 9e05d2e75633fd1768ebe737d14b00cf
+MD5 (crafty/crafty-17.3.tar.gz) = 98aab0162202fe655d8a26fdac1a12b2
MD5 (crafty/start.zip) = 7a9faa5c4c0af5a2defa4dca942daf3d
MD5 (crafty/crafty.doc) = IGNORE
MD5 (crafty/crafty.faq) = IGNORE
diff --git a/games/crafty/files/patch-aa b/games/crafty/files/patch-aa
index 605c37b34fd0..880961619fec 100644
--- a/games/crafty/files/patch-aa
+++ b/games/crafty/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Fri Aug 6 11:38:11 1999
-+++ Makefile Mon Aug 23 13:13:58 1999
+--- Makefile.orig Thu Nov 11 09:19:29 1999
++++ Makefile Thu Dec 2 15:50:05 1999
@@ -23,7 +23,7 @@
# SGI {SGI Workstation running Irix (SYSV/R4) Unix}
# SUN {Sun SparcStation running Solaris (SYSV/R4) Unix}
@@ -9,7 +9,7 @@
#
# The next options are optimizations inside Crafty that you will have
# test to see if they help. on some machines, these will slow things
-@@ -72,13 +72,15 @@
+@@ -83,13 +83,13 @@
# asm = X86.o
# FreeBSD (gcc 2.6.3)
@@ -17,37 +17,34 @@
+target = FreeBSD
#CC = gcc
#CFLAGS = -fomit-frame-pointer -m486 -O3 -Wall
- #CXX = $(CC)
+-#CPP = $(CC)
-#LDFLAGS =
-#opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
-# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
++CPP = $(CXX)
+LDFLAGS =
-+opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS
-+.if ${MACHINE_ARCH} == "i386"
-+opt +=-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-+.endif
++opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
++ -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
# FreeBSD (pgcc)
#target = FreeBSD
-@@ -100,23 +102,28 @@
+@@ -111,20 +111,25 @@
- # LINUX (pgcc)
+ # LINUX (gcc 2.95)
# Note: You have to uncomment exactly ONE of the `asm' lines below.
-target = LINUX
-CC = gcc
--CXX = $(CC)
-+#target = LINUX
-+#CC = gcc
-+#CXX = $(CC)
- #CFLAGS = -Wall -pipe -D_REENTRANT -march=i686 -O \
- # -malign-double -malign-loops=4 -malign-jumps=4 -malign-functions=4\
- # -mpreferred-stack-boundary=4
--CFLAGS = -Wall -pipe -D_REENTRANT -march=i686 -O -fforce-mem -fomit-frame-pointer
-+#CFLAGS = -Wall -pipe -D_REENTRANT -march=i686 -O -fforce-mem -fomit-frame-pointer
-
+-CPP = g++
+-CFLAGS = -Wall -pipe -D_REENTRANT -march=i686 -O -fforce-mem \
+- -fomit-frame-pointer
-LDFLAGS = -lpthread
-opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
- -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 -DDGT
++#target = LINUX
++#CC = gcc
++#CPP = g++
++#CFLAGS = -Wall -pipe -D_REENTRANT -march=i686 -O -fforce-mem \
++# -fomit-frame-pointer
+#LDFLAGS = -lpthread
+#opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
+# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 -DDGT
@@ -64,9 +61,9 @@
+.endif
+.endif
- # LINUX (gcc)
- # Note: You have to uncomment exactly ONE of the `asm' lines below.
-@@ -177,7 +184,7 @@
+ # NEXT
+ #target = NEXT
+@@ -169,7 +174,7 @@
# Do not change anything below this line!
@@ -74,4 +71,4 @@
+CFLAGS += $(opt) -D$(target)
objects = searchr.o search.o thread.o searchmp.o repeat.o next.o nexte.o \
- nextr.o history.o quiesce.o evaluate.o movgen.o make.o unmake.o \
+ nextr.o history.o quiesce.o evaluate.o movgen.o make.o unmake.o hash.o \