1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/games/gnushogi/files/patch-aa
David E. O'Brien 8ea0a44557 Have manpage installed in man6 where games belong.
and some /usr/local hardcodings --> ${PREFIX}
1997-01-03 11:33:21 +00:00

45 lines
1.6 KiB
Plaintext

--- 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 -m486 -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