freebsd-ports/games/mangband/files/patch-ab
Kevin Lo a65110011f Update to 0.7
PR: 24354
Submitted by: Ports Fury
2001-01-16 15:27:59 +00:00

22 lines
636 B
Text

--- 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
##