summaryrefslogblamecommitdiff
path: root/games/mangband/files/patch-ab
blob: e60ed950750336688ca8c698bc1cf338912de36d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                  



                                                                       

                                                                                                   



                                                  
--- Makefile.orig	Sun Mar  5 05:04:02 2000
+++ Makefile	Fri Jan 12 00:02:53 2001
@@ -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${X11BASE}/include
+LIBS = -L${X11BASE}/lib -lX11 -lncurses -lmytinfo
 
 
 ##