aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1999-08-23 20:22:52 +0000
committerMatthew Hunt <mph@FreeBSD.org>1999-08-23 20:22:52 +0000
commit3413c3b9d8360765e6b10f0a89c344625761bf6f (patch)
treeaf3818f96fdcceadc54b369ce04fa07140d89e41 /games
parent2f1592011143b13660e9536629113ba26be111b2 (diff)
downloadports-3413c3b9d8360765e6b10f0a89c344625761bf6f.tar.gz
ports-3413c3b9d8360765e6b10f0a89c344625761bf6f.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/crafty/Makefile10
-rw-r--r--games/crafty/distinfo2
-rw-r--r--games/crafty/files/patch-aa34
3 files changed, 23 insertions, 23 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile
index 2e40288efbc3..af9956874a4d 100644
--- a/games/crafty/Makefile
+++ b/games/crafty/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: crafty
-# Version required: 16.15
+# Version required: 16.16
# Date created: 31 May 1998
# Whom: Stefan Eggers <seggers@semyam.dinoco.de>
#
-# $Id: Makefile,v 1.15 1999/06/25 17:12:43 mph Exp $
+# $Id: Makefile,v 1.16 1999/08/06 18:21:42 mph Exp $
#
-DISTNAME= crafty-16.15
+DISTNAME= crafty-16.16
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.15.tar.gz crafty.doc crafty.faq read.me start.zip
+DISTFILES= crafty-16.16.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.15.tar.gz
+EXTRACT_ONLY= crafty-16.16.tar.gz
IGNOREFILES= crafty.doc crafty.faq read.me
MAN6= crafty.6
diff --git a/games/crafty/distinfo b/games/crafty/distinfo
index 970225ae79e4..52caa6fd087d 100644
--- a/games/crafty/distinfo
+++ b/games/crafty/distinfo
@@ -1,4 +1,4 @@
-MD5 (crafty/crafty-16.15.tar.gz) = 3a49e6bdb5c389dafd366604e57e8772
+MD5 (crafty/crafty-16.16.tar.gz) = 21017580bb899be5f3c794244c888361
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 236eab3c8e6b..605c37b34fd0 100644
--- a/games/crafty/files/patch-aa
+++ b/games/crafty/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Wed Jul 28 16:54:47 1999
-+++ Makefile Fri Aug 6 10:52:33 1999
+--- Makefile.orig Fri Aug 6 11:38:11 1999
++++ Makefile Mon Aug 23 13:13:58 1999
@@ -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
-@@ -75,14 +75,16 @@
+@@ -72,13 +72,15 @@
# asm = X86.o
# FreeBSD (gcc 2.6.3)
@@ -18,35 +18,36 @@
#CC = gcc
#CFLAGS = -fomit-frame-pointer -m486 -O3 -Wall
#CXX = $(CC)
- #CXXFLAGS= $(CFLAGS)
-#LDFLAGS =
-#opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
-# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
+LDFLAGS =
+opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS
+.if ${MACHINE_ARCH} == "i386"
-+opt += -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
++opt +=-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
+.endif
# FreeBSD (pgcc)
#target = FreeBSD
-@@ -106,20 +108,25 @@
+@@ -100,23 +102,28 @@
# 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_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
+ #CFLAGS = -Wall -pipe -D_REENTRANT -march=i686 -O \
+ # -malign-double -malign-loops=4 -malign-jumps=4 -malign-functions=4\
+ # -mpreferred-stack-boundary=4
+-CFLAGS = -Wall -pipe -D_REENTRANT -march=i686 -O -fforce-mem -fomit-frame-pointer
++#CFLAGS = -Wall -pipe -D_REENTRANT -march=i686 -O -fforce-mem -fomit-frame-pointer
+
+-LDFLAGS = -lpthread
+-opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
+- -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 -DDGT
+#LDFLAGS = -lpthread
+#opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
+# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 -DDGT
@@ -55,18 +56,17 @@
# 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.
-@@ -185,7 +192,7 @@
+@@ -177,7 +184,7 @@
# Do not change anything below this line!