summaryrefslogtreecommitdiff
path: root/games/crafty/files
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/files
parent"development framework" (diff)
Update to 16.2.
Notes
Notes: svn path=/head/; revision=15794
Diffstat (limited to 'games/crafty/files')
-rw-r--r--games/crafty/files/patch-aa26
1 files changed, 17 insertions, 9 deletions
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 \