aboutsummaryrefslogtreecommitdiff
path: root/games/gnushogi/files/patch-aa
blob: 3bef78685438f625b4657c424f1853b3cf2c5e27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- src/Makefile.orig	Wed May 24 07:05:26 1995
+++ src/Makefile	Fri Jan  3 02:57:59 1997
@@ -41,22 +41,22 @@
 DIST=   ../README-$(VERS) ../doc ../misc ../src
 
 # Installation directory
-prefix=/usr/local
+#prefix=/usr/local
 #prefix=/public/projects/shogi
 
 # Change these to something less transitory, like /usr/games, and then
 # compile. Ask your system admin / unix guru to put gnushogi.{hsh,lng,tbk}
 # in $(LIBDIR).
 # Where the binaries live.
-BINDIR= $(prefix)/games
+BINDIR= $(prefix)/bin
 #BINDIR=/public/projects/shogi/bin
 
 # Where language description, our book, and the persistent hash live.
-LIBDIR= $(prefix)/games/lib/gnushogi
+LIBDIR= $(prefix)/share/gnushogi
 #LIBDIR=/public/projects/shogi/lib
 
 # Distribution directory
-DISTDIR=/public/projects/shogi
+#DISTDIR=/public/projects/shogi
 
 # Programs being distributed
 PROGS=gnushogi-$(VERS)
@@ -96,7 +96,8 @@
 #CFLAGS= -O2 -funroll-loops -traditional-cpp -DNO_STRING_INCLUDE -DNOFIONREAD # gnu cc  2.00 (hawk)
 #CFLAGS= -O2 -funroll-loops -DSEVENBIT # djgpp
 #CFLAGS= -g -funroll-loops # gnu cc 2.00 on SunOS with debug
-CFLAGS= -O2 -funroll-loops # gnu cc 2.00 on SunOS
+#CFLAGS= -O2 -funroll-loops # gnu cc 2.00 on SunOS
+CFLAGS= -O2 -pipe -fno-strength-reduce
 
 # flags for DJGPP package
 #COFF2EXE= coff2exe $(GNUSHOGI)
@@ -454,3 +455,4 @@
 	-rm -f $(DISTDIR)/gnushogi-$(VERS)/src/gnushogi.bbk
 	-find $(DISTDIR)/gnushogi-$(VERS) \( -name '*.o' -o -name '*~' -o -name 'CL*' -o -name 'PATCH*' -o -name '#*#' -o -name '%*%' -o -name '*orig' -o -name 'CL*' -o -name '*prt' -o -name '*bak' -o -name '*BAK' \) -exec rm -f {} \;
 
+DISTDIR=/net/freefall/a/obrien/ports/games/gnushogi/work