summaryrefslogtreecommitdiff
path: root/games/mangband/files/patch-ab
blob: cda4eb16a65835eb3fe6ea0acaacbfe05f4e4fde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.orig	Fri Feb  2 04:56:06 2007
+++ Makefile	Fri Feb  2 04:56:06 2007
@@ -134,7 +134,7 @@
 #
 # This is my compiler of choice, it seems to work most everywhere
 #
-CC = gcc
+#CC = gcc
 
 
 #
@@ -155,8 +155,8 @@
 # including "USE_GETCH" and "USE_CURS_SET".  Note that "config.h" will
 # attempt to "guess" at many of these flags based on your system.
 #
-CFLAGS = -Wall -g -pipe -D"USE_X11" -D"USE_GCU" -I/usr/include/ncurses
-LIBS = -L/usr/X11R6/lib -lX11 -lncurses
+CFLAGS += -D"USE_X11" -D"USE_GCU" -DDEFAULT_PATH="\"${PREFIX}/lib/mangband\"" -I${LOCALBASE}/include
+LIBS = -L${LOCALBASE}/lib -lX11 -lncurses
 
 
 ##