pkgsrc/games/gnuchess/patches/patch-aa
jlam c1a19d047c Update gnuchess to 5.00. From the GNU chess web page:
Version 5.00 is the current release. Version 5.00 shares no code with
   versions 1.x through 4.x. The major motivation for this release is to
   simplify chess code making it more pedantically accessible, use modern
   data structures, make it easy to modify by less skilled programmers,
   and increase understandability to non-programmer, skilled chess
   experts.
2000-03-26 08:29:25 +00:00

22 lines
750 B
Text

$NetBSD: patch-aa,v 1.3 2000/03/26 08:29:25 jlam Exp $
--- Makefile.in.orig Sat Oct 23 11:43:36 1999
+++ Makefile.in Thu Feb 17 23:11:58 2000
@@ -43,7 +43,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
-LIBDIR = $(prefix)/lib
+LIBDIR = $(prefix)/share/gnuchess
BINDIR = $(exec_prefix)/bin
MANDIR = $(prefix)/man/man6
MANEXT = .6
@@ -63,7 +63,7 @@
# -DUNIVERSAL -- define for use with Novag Universal physical playing board.
INTERFACE=
-CFLAGS=-O3 -Winline -Wmissing-prototypes -funroll-loops -fomit-frame-pointer $(MACHINE) $(INTERFACE)
+CFLAGS=-O3 -Winline -Wmissing-prototypes -funroll-loops -fomit-frame-pointer $(MACHINE) $(INTERFACE) -DLIBDIR=\"${LIBDIR}/\"
# Not normally needed unless debugging or profiling.
# Debugging