freebsd-ports/games/mangband/files/patch-ab
Rong-En Fan d8c957397d - Fix build after libmytinfo is gone
Reported by:	kris
2007-02-01 20:57:59 +00:00

22 lines
626 B
Text

--- 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${X11BASE}/include
+LIBS = -L${X11BASE}/lib -lX11 -lncurses
##