pkgsrc/games/gnuchess/patches/patch-aa
jlam 3dbb17828a Update to gnuchess-5.00nb1: add code to allow building of opening books in
user-specified locations.  Remove installation of default book...it's so small
that it's pretty much useless anyway.  See games/gnuchess-book-* for chess
opening books for GNU Chess.
2000-10-15 01:53:39 +00:00

22 lines
723 B
Text

$NetBSD: patch-aa,v 1.4 2000/10/15 01:53:40 jlam Exp $
--- Makefile.in.orig Sat Oct 23 11:43:36 1999
+++ Makefile.in
@@ -43,7 +43,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
-LIBDIR = $(prefix)/lib
+LIBDIR = $(prefix)/lib/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