aboutsummaryrefslogtreecommitdiff
path: root/games/crafty
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1999-01-03 00:04:23 +0000
committerMatthew Hunt <mph@FreeBSD.org>1999-01-03 00:04:23 +0000
commitf4d81f16efc94a174aadb1fa1883779e61f1cf25 (patch)
treef573244fe27132ae973d4db093140881bd751ea2 /games/crafty
parent76a46d736de24c85265669143efc35f3e9ac5650 (diff)
downloadports-f4d81f16efc94a174aadb1fa1883779e61f1cf25.tar.gz
ports-f4d81f16efc94a174aadb1fa1883779e61f1cf25.zip
Notes
Diffstat (limited to 'games/crafty')
-rw-r--r--games/crafty/Makefile12
-rw-r--r--games/crafty/distinfo6
-rw-r--r--games/crafty/files/patch-aa26
3 files changed, 26 insertions, 18 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile
index 18d852b5c8f3..88bb4271508b 100644
--- a/games/crafty/Makefile
+++ b/games/crafty/Makefile
@@ -1,23 +1,23 @@
# New ports collection makefile for: crafty
-# Version required: 15.20
+# Version required: 16.2
# Date created: 31 May 1998
# Whom: Stefan Eggers <seggers@semyam.dinoco.de>
#
-# $Id: Makefile,v 1.6 1998/09/19 20:22:58 steve Exp $
+# $Id: Makefile,v 1.7 1998/10/10 03:51:56 steve Exp $
#
-DISTNAME= crafty-15.20
+DISTNAME= crafty-16.2
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/v15/
-DISTFILES= crafty-15.20.tar.gz crafty.doc crafty.faq read.me start.zip
+ ftp://ftp.cis.uab.edu/pub/hyatt/v16/
+DISTFILES= crafty-16.2.tar.gz crafty.doc crafty.faq read.me start.zip
MAINTAINER= seggers@semyam.dinoco.de
ALL_TARGET= crafty
DIST_SUBDIR= crafty
-EXTRACT_ONLY= crafty-15.20.tar.gz
+EXTRACT_ONLY= crafty-16.2.tar.gz
MAN6= crafty.6
NO_WRKSUBDIR= yes
diff --git a/games/crafty/distinfo b/games/crafty/distinfo
index 0e156f845834..81a4164cac59 100644
--- a/games/crafty/distinfo
+++ b/games/crafty/distinfo
@@ -1,5 +1,5 @@
-MD5 (crafty/crafty-15.20.tar.gz) = 2c8d6477853c122227864dcee16b490c
-MD5 (crafty/crafty.doc) = daa3a11b55bcc4ad2f71807edcb8f404
+MD5 (crafty/crafty-16.2.tar.gz) = bc6c1192cb3eed7506a48b37911cb6f4
+MD5 (crafty/crafty.doc) = 943a529939c84aef0c8fa8ea56f8dc1c
MD5 (crafty/crafty.faq) = f744727e291b6dec7e7c69bb3586b6dd
-MD5 (crafty/read.me) = ab8ebad0b0b5c78ad3ee304d7ceea681
+MD5 (crafty/read.me) = 9d5ce5679277b497dd788d8e95f6b4a4
MD5 (crafty/start.zip) = 7a9faa5c4c0af5a2defa4dca942daf3d
diff --git a/games/crafty/files/patch-aa b/games/crafty/files/patch-aa
index 7ce843db6ed9..ef45f26d75ed 100644
--- a/games/crafty/files/patch-aa
+++ b/games/crafty/files/patch-aa
@@ -1,20 +1,19 @@
---- Makefile.ORIG Fri Aug 28 20:30:02 1998
-+++ Makefile Mon Oct 5 22:15:55 1998
+--- Makefile.orig Thu Nov 5 20:53:45 1998
++++ Makefile Wed Dec 16 21:15:04 1998
@@ -69,13 +69,13 @@
# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B
# asm = X86.o
-# FreeBSD (gcc 2.6.3)
-#target = FreeBSD
--#CC = gcc
++# FreeBSD (gcc 2.7.2.1)
++target = FreeBSD
+ #CC = gcc
-#CFLAGS = -fomit-frame-pointer -m486 -O3 -Wall
-#LDFLAGS =
-#opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
-# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-+# FreeBSD (gcc 2.7.2.1)
-+target = FreeBSD
-+CC = gcc
-+CFLAGS = -pipe -O -Wall
++#CFLAGS = -pipe -O -Wall
+LDFLAGS =
+opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
+ -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
@@ -27,13 +26,13 @@
# Note: You have to uncomment exactly ONE of the `asm' lines below.
-target = LINUX
-CC = gcc
--CFLAGS = -pipe -D_REENTRANT -m486 -O -Wall
+-CFLAGS = -pipe -D_REENTRANT -mpentium -O -Wall
-LDFLAGS = -lpthread
-opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
- -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4
+#target = LINUX
+#CC = gcc
-+#CFLAGS = -pipe -D_REENTRANT -m486 -O -Wall
++#CFLAGS = -pipe -D_REENTRANT -mpentium -O -Wall
+#LDFLAGS = -lpthread
+#opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
+# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4
@@ -50,3 +49,12 @@
# NEXT
#target = NEXT
+@@ -147,7 +150,7 @@
+
+ # Do not change anything below this line!
+
+-opts = $(opt) -D$(target)
++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 \