diff options
Diffstat (limited to 'games/crafty/files')
-rw-r--r-- | games/crafty/files/patch-aa | 14 |
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! |