summaryrefslogtreecommitdiff
path: root/games/gnuchess/patches/patch-aa
blob: 6385434a6cf6538d333564fb6abe35df86d3697c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.5 2002/03/15 04:59:16 jmc Exp $

--- Makefile.in.orig	Fri Mar 15 04:46:43 2002
+++ Makefile.in	Fri Mar 15 04:52:04 2002
@@ -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=@CFLAGS@ $(MACHINE) $(INTERFACE) -DLIBDIR=\"${LIBDIR}/\"
 
 # Not normally needed unless debugging or profiling.
 # Debugging