diff options
author | Matthew Hunt <mph@FreeBSD.org> | 1999-08-06 18:21:44 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 1999-08-06 18:21:44 +0000 |
commit | 4d59c00ce45377d263f20c1e65f8ceadde059752 (patch) | |
tree | 36297cd4fb66f2adbdfdf9fb21a9ec9749913a01 /games/crafty | |
parent | 2edd36597f5dd5203edce42a3adf7acb64842d04 (diff) | |
download | ports-4d59c00ce45377d263f20c1e65f8ceadde059752.tar.gz ports-4d59c00ce45377d263f20c1e65f8ceadde059752.zip |
Notes
Diffstat (limited to 'games/crafty')
-rw-r--r-- | games/crafty/Makefile | 10 | ||||
-rw-r--r-- | games/crafty/distinfo | 2 | ||||
-rw-r--r-- | games/crafty/files/patch-aa | 43 |
3 files changed, 25 insertions, 30 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile index 06dfabc89e7c..2e40288efbc3 100644 --- a/games/crafty/Makefile +++ b/games/crafty/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: crafty -# Version required: 16.11 +# Version required: 16.15 # Date created: 31 May 1998 # Whom: Stefan Eggers <seggers@semyam.dinoco.de> # -# $Id: Makefile,v 1.14 1999/06/19 18:00:05 cpiazza Exp $ +# $Id: Makefile,v 1.15 1999/06/25 17:12:43 mph Exp $ # -DISTNAME= crafty-16.11 +DISTNAME= crafty-16.15 CATEGORIES= games MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/ \ ftp://ftp.cis.uab.edu/pub/hyatt/common/ \ @@ -14,13 +14,13 @@ MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/ \ ftp://ftp.jpunix.com/pub/hyatt/ \ ftp://ftp.jpunix.com/pub/hyatt/common/ \ ftp://ftp.jpunix.com/pub/hyatt/v16/ -DISTFILES= crafty-16.11.tar.gz crafty.doc crafty.faq read.me start.zip +DISTFILES= crafty-16.15.tar.gz crafty.doc crafty.faq read.me start.zip MAINTAINER= seggers@semyam.dinoco.de ALL_TARGET= crafty DIST_SUBDIR= crafty -EXTRACT_ONLY= crafty-16.11.tar.gz +EXTRACT_ONLY= crafty-16.15.tar.gz IGNOREFILES= crafty.doc crafty.faq read.me MAN6= crafty.6 diff --git a/games/crafty/distinfo b/games/crafty/distinfo index 0a6e9554fb25..970225ae79e4 100644 --- a/games/crafty/distinfo +++ b/games/crafty/distinfo @@ -1,4 +1,4 @@ -MD5 (crafty/crafty-16.11.tar.gz) = d755135252aad8d3fd00312f5c1395f7 +MD5 (crafty/crafty-16.15.tar.gz) = 3a49e6bdb5c389dafd366604e57e8772 MD5 (crafty/start.zip) = 7a9faa5c4c0af5a2defa4dca942daf3d MD5 (crafty/crafty.doc) = IGNORE MD5 (crafty/crafty.faq) = IGNORE diff --git a/games/crafty/files/patch-aa b/games/crafty/files/patch-aa index 998de3a3121d..236eab3c8e6b 100644 --- a/games/crafty/files/patch-aa +++ b/games/crafty/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.orig Tue May 18 09:23:36 1999 -+++ Makefile Sat Jun 19 16:31:54 1999 +--- Makefile.orig Wed Jul 28 16:54:47 1999 ++++ Makefile Fri Aug 6 10:52:33 1999 @@ -23,7 +23,7 @@ # SGI {SGI Workstation running Irix (SYSV/R4) Unix} # SUN {Sun SparcStation running Solaris (SYSV/R4) Unix} @@ -9,20 +9,19 @@ # # The next options are optimizations inside Crafty that you will have # test to see if they help. on some machines, these will slow things -@@ -69,13 +69,15 @@ - # -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B +@@ -75,14 +75,16 @@ # asm = X86.o --# FreeBSD (gcc 2.6.3) + # FreeBSD (gcc 2.6.3) -#target = FreeBSD -+# FreeBSD (gcc 2.7.2.1) +target = FreeBSD #CC = gcc --#CFLAGS = -fomit-frame-pointer -m486 -O3 -Wall + #CFLAGS = -fomit-frame-pointer -m486 -O3 -Wall + #CXX = $(CC) + #CXXFLAGS= $(CFLAGS) -#LDFLAGS = --#opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \ +-#opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \ -# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -+#CFLAGS = -pipe -O -Wall +LDFLAGS = +opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS +.if ${MACHINE_ARCH} == "i386" @@ -31,38 +30,43 @@ # FreeBSD (pgcc) #target = FreeBSD -@@ -95,18 +97,23 @@ +@@ -106,20 +108,25 @@ # LINUX (pgcc) # Note: You have to uncomment exactly ONE of the `asm' lines below. -target = LINUX -CC = gcc -CFLAGS = -Wall -pipe -D_REENTRANT -mpentium -O +-CXX = $(CC) +-CXXFLAGS= -pipe -D_REENTRANT -mpentium -O -LDFLAGS = -lpthread --opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \ +-opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \ - -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 -DDGT +#target = LINUX +#CC = gcc +#CFLAGS = -Wall -pipe -D_REENTRANT -mpentium -O ++#CXX = $(CC) ++#CXXFLAGS= -pipe -D_REENTRANT -mpentium -O +#LDFLAGS = -lpthread -+#opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \ ++#opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \ +# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 -DDGT # 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 +.if ${MACHINE_ARCH} == "i386" +.if ${PORTOBJFORMAT} == "aout" -+asm = X86-aout.o ++asm = X86-aout.o +.else - asm = X86-elf.o ++asm = X86-elf.o +.endif +.endif # LINUX (gcc) # Note: You have to uncomment exactly ONE of the `asm' lines below. -@@ -162,7 +169,7 @@ +@@ -185,7 +192,7 @@ # Do not change anything below this line! @@ -71,12 +75,3 @@ 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 \ -@@ -189,7 +196,7 @@ - - egtb.o: egtb.cpp - @echo $(CC) -c $(CFLAGS) egtb.cpp -- @$(CC) -c -pipe -D_REENTRANT -mpentium -O $(opts) egtb.cpp -+ @$(CC) -c -pipe -D_REENTRANT -O $(opts) egtb.cpp - clean: - -rm -f *.o crafty X86-elf.X X86-aout.S - |