diff options
author | Steve Price <steve@FreeBSD.org> | 1998-09-19 20:23:07 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-09-19 20:23:07 +0000 |
commit | 14b0409efa42c578e3c83a617d00983ec3aed94a (patch) | |
tree | 994c8d12a833d6be29049ba5aab4b7ee4098c46c /games/crafty/files/patch-aa | |
parent | Update to version 0.40.6. (diff) |
Update to version 15.18 and ELF'ize.
PR: 7887, 7909
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=13256
Diffstat (limited to '')
-rw-r--r-- | games/crafty/files/patch-aa | 119 |
1 files changed, 49 insertions, 70 deletions
diff --git a/games/crafty/files/patch-aa b/games/crafty/files/patch-aa index 19d8eefb6878..58e6f2fbe6a3 100644 --- a/games/crafty/files/patch-aa +++ b/games/crafty/files/patch-aa @@ -1,70 +1,49 @@ -*** Makefile.orig Fri May 22 17:52:39 1998 ---- Makefile Mon Jun 1 00:37:27 1998 -*************** -*** 68,80 **** - # -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B - # asm = X86.o - -! # FreeBSD (gcc 2.6.3) -! #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 (pgcc) - #target = FreeBSD ---- 68,80 ---- - # -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B - # asm = X86.o - -! # 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 (pgcc) - #target = FreeBSD -*************** -*** 94,111 **** - - # LINUX - # Note: You have to uncomment exactly ONE of the `asm' lines below. -! target = LINUX -! CC = gcc -! CFLAGS = -pipe -D_REENTRANT -mpentiumpro -O -Wall -! LDFLAGS = -lpthread -! opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \ -! -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 - - # Uncomment the FIRST `asm' line for a.out systems. - # Uncomment the SECOND `asm' line for ELF systems. - # -! #asm = X86-aout.o -! asm = X86-elf.o - - # NEXT - #target = NEXT ---- 94,111 ---- - - # LINUX - # Note: You have to uncomment exactly ONE of the `asm' lines below. -! #target = LINUX -! #CC = gcc -! #CFLAGS = -pipe -D_REENTRANT -mpentiumpro -O -Wall -! #LDFLAGS = -lpthread -! #opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \ -! # -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 - - # Uncomment the FIRST `asm' line for a.out systems. - # Uncomment the SECOND `asm' line for ELF systems. - # -! asm = X86-aout.o -! #asm = X86-elf.o - - # NEXT - #target = NEXT +--- Makefile.ORIG Mon Jun 29 21:19:02 1998 ++++ Makefile Sat Sep 12 21:49:58 1998 +@@ -69,13 +69,13 @@ + # -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B + # asm = X86.o + +-# FreeBSD (gcc 2.6.3) +-#target = FreeBSD ++# 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 ++opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \ ++ -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST + + # FreeBSD (pgcc) + #target = FreeBSD +@@ -95,18 +95,21 @@ + + # LINUX + # Note: You have to uncomment exactly ONE of the `asm' lines below. +-target = LINUX +-CC = gcc +-CFLAGS = -pipe -D_REENTRANT -mpentiumpro -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 -mpentiumpro -O -Wall ++#LDFLAGS = -lpthread ++#opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \ ++# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 + + # Uncomment the FIRST `asm' line for a.out systems. + # Uncomment the SECOND `asm' line for ELF systems. + # +-#asm = X86-aout.o ++.if ${PORTOBJFORMAT} == "aout" ++asm = X86-aout.o ++.else + asm = X86-elf.o ++.endif + + # NEXT + #target = NEXT |