aboutsummaryrefslogtreecommitdiffstats
path: root/games/crafty/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-02-14 00:47:42 +0800
committersteve <steve@FreeBSD.org>2000-02-14 00:47:42 +0800
commita1fa1bbecfe14e65f48eeb39eb8c052367019126 (patch)
tree35e52a22504382e876e645c8fc41d69ecd7afd02 /games/crafty/files
parent138f65b75b6d9ae09890f696508237aae2b1b53b (diff)
downloadfreebsd-ports-gnome-a1fa1bbecfe14e65f48eeb39eb8c052367019126.tar.gz
freebsd-ports-gnome-a1fa1bbecfe14e65f48eeb39eb8c052367019126.tar.zst
freebsd-ports-gnome-a1fa1bbecfe14e65f48eeb39eb8c052367019126.zip
Don't set USE_ASSEMBLY_[AB] on any arch but i386, so this builds on the
Alpha again.
Diffstat (limited to 'games/crafty/files')
-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!