aboutsummaryrefslogtreecommitdiff
path: root/games/crafty
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-02-13 16:47:42 +0000
committerSteve Price <steve@FreeBSD.org>2000-02-13 16:47:42 +0000
commitc2bb02180791aec31e68cf65d940aa9d92e8e745 (patch)
tree34198be347754174a02a97e154e8290448462b6f /games/crafty
parent1aeeb98b57a17c6e485c563f5ae858910565895f (diff)
downloadports-c2bb02180791aec31e68cf65d940aa9d92e8e745.tar.gz
ports-c2bb02180791aec31e68cf65d940aa9d92e8e745.zip
Notes
Diffstat (limited to 'games/crafty')
-rw-r--r--games/crafty/files/patch-aa14
1 files changed, 9 insertions, 5 deletions
diff --git a/games/crafty/files/patch-aa b/games/crafty/files/patch-aa
index 880961619fec..e1d14dc92e92 100644
--- a/games/crafty/files/patch-aa
+++ b/games/crafty/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Thu Nov 11 09:19:29 1999
-+++ Makefile Thu Dec 2 15:50:05 1999
+--- Makefile.orig Thu Nov 11 11:19:29 1999
++++ Makefile Sun Feb 6 18:33:46 2000
@@ -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
-@@ -83,13 +83,13 @@
+@@ -83,13 +83,17 @@
# asm = X86.o
# FreeBSD (gcc 2.6.3)
@@ -23,12 +23,16 @@
-# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
+CPP = $(CXX)
+LDFLAGS =
++.if ${MACHINE_ARCH} == "i386"
+opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
+ -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
++.else
++opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS -DFAST
++.endif
# FreeBSD (pgcc)
#target = FreeBSD
-@@ -111,20 +111,25 @@
+@@ -111,20 +115,25 @@
# LINUX (gcc 2.95)
# Note: You have to uncomment exactly ONE of the `asm' lines below.
@@ -63,7 +67,7 @@
# NEXT
#target = NEXT
-@@ -169,7 +174,7 @@
+@@ -169,7 +178,7 @@
# Do not change anything below this line!