summaryrefslogtreecommitdiff
path: root/games/phalanx/files/patch-aa
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2000-04-02 01:00:24 +0000
committerMichael Haro <mharo@FreeBSD.org>2000-04-02 01:00:24 +0000
commit4aed6f1e6536c2d3be11d0ac7596e10b27791cb5 (patch)
tree021f61372fc74d69c6dbb086d15d03b8a2cae67e /games/phalanx/files/patch-aa
parentnetpnm moved to ${LOCALBASE}, update *_DEPENDS (diff)
***
games/affenspiel - Support CC properly *** games/battalion - Support PREFIX properly *** games/block - Support CC/CFLAGS properly *** games/blue - Support CC/CFLAGS properly - Add WWW: line into pkg/DESCR New file: patches/patch-aa *** games/bs - Add WWW: line into pkg/DESCR *** games/columns - Support CXXFLAGS properly - Support sdl-config *** games/empire - Exclude GPL doc from package - Add WWW: line into pkg/DESCR *** games/freesweep to 0.87 - Update to version 0.87 *** games/galaxis - Support CC properly - Add WWW: line into pkg/DESCR *** games/garith - Support CC/CFLAGS properly - Support GTK_CONFIG *** games/gemdropx to 0.7 - Update to version 0.7 *** games/gtkballs - Exclude GPL doc from package - Support GTK_CONFIG *** games/icbm3d - Update WWW: line of pkg/DESCR *** games/mirrormagic - Support CC/X11BASE properly *** games/phalanx to 22 - Update to version 22 - Add WWW: line into pkg/DESCR *** games/spellcast - Update MASTER_SITES and WWW: line of pkg/DESCR - Support CFLAGS properly - Exclude GPL doc from package *** games/starlanes - Support CC properly - Exclude GPL doc from package *** games/xdigger to 1.0.10 - Update to version 1.0.10 New file: patches/patch-ad patches/patch-ae *** games/xtron - Support PREFIX properly - Exclude GPL doc from package *** games/xtruco - Support CC/CFLAGS/X11BASE properly *** games/xvier - Support X11BASE properly *** PR: 17741 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to '')
-rw-r--r--games/phalanx/files/patch-aa32
1 files changed, 11 insertions, 21 deletions
diff --git a/games/phalanx/files/patch-aa b/games/phalanx/files/patch-aa
index ce2d009e2c83..c512328124cb 100644
--- a/games/phalanx/files/patch-aa
+++ b/games/phalanx/files/patch-aa
@@ -1,33 +1,23 @@
---- makefile Sat Jan 30 00:26:13 1999
-+++ /home/andy/tmp/wrk/makefile Sun May 2 16:46:44 1999
-@@ -1,9 +1,10 @@
+--- makefile.orig Mon Jan 17 06:30:49 2000
++++ makefile Thu Mar 30 01:42:40 2000
+@@ -1,9 +1,9 @@
-CC = gcc
-+#CC = gcc
++CC ?= gcc
####### choose the line that makes the binary faster on your machine
# CFLAGS = -O3 -Wall -fomit-frame-pointer -funroll-loops
--CFLAGS = -O -fomit-frame-pointer
-+#CFLAGS = -O -fomit-frame-pointer
-+CFLAGS+= -I${LOCALBASE}/include
+-CFLAGS = -O -Wall -fomit-frame-pointer
++CFLAGS += -I${LOCALBASE}/include
####### debug/tuning options for developers
# CFLAGS = -O -Wall -g3 -static
-@@ -20,7 +21,7 @@
- ### -DLEARN_DIR=\"/var/local/lib\"
+@@ -21,7 +21,7 @@
### -DQCAPSONLY
--DEFINES = -DGNUFUN
-+DEFINES = -DGNUFUN -DPBOOK_DIR=\"${PREFIX}/share/phalanx\" -DSBOOK_DIR=\"${PREFIX}/share/phalanx\"
- LDFLAGS =
+ DEFINES = -DGNUFUN
+-LDFLAGS =
++LDFLAGS = -L${LOCALBASE}/lib -lgnugetopt
OBJ = .o/phalanx.o .o/bcreate.o .o/search.o .o/io.o .o/data.o \
-@@ -28,7 +29,7 @@
- .o/levels.o .o/book.o .o/killers.o .o/endgame.o .o/learn.o
-
- phalanx: .o $(OBJ)
-- $(CC) $(CFLAGS) $(DEFINES) $(LDFLAGS) $(OBJ) -o phalanx
-+ $(CC) $(CFLAGS) $(DEFINES) $(LDFLAGS) $(OBJ) -o phalanx -L${LOCALBASE}/lib -lgnugetopt
- strip phalanx
-
- .o/%.o: makefile %.c
+ .o/evaluate.o .o/genmoves.o .o/moving.o .o/hash.o .o/static.o \