1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/frotz/files/patch-aa

40 lines
1.0 KiB
Plaintext
Raw Normal View History

--- Makefile.orig Fri Oct 17 16:11:10 1997
+++ Makefile Sun Jun 7 18:26:02 1998
@@ -1,7 +1,7 @@
# Define your c compiler. I recommend gcc if you've got it.
#CC = cc
-CC = gcc
+#CC = gcc
# Define your optimization flags. Most compilers understand -O and -O2,
# Debugging (don't use)
@@ -43,7 +43,8 @@
# have that option.
#
#DEFS = -DUSE_GETOPT_H -DCOLOR_SUPPORT -DEMACS_EDITING
-DEFS =
+DEFS = -DCOLOR_SUPPORT -DEMACS_EDITING -DUSE_NCURSES_H -DUSE_NOTHING \
+ -DUSE_UNISTD_H
# This should point to the location of your curses or ncurses include file
# if it's in a non-standard place.
@@ -57,7 +58,7 @@
#CURSES = -lncurses
#LIB = -L/5usr/lib
LIB =
-CURSES = -lcurses
+CURSES = -lncurses
# Nothing under this line should need to be changed.
@@ -66,7 +67,7 @@
text.o ux_init.o ux_input.o ux_pic.o ux_screen.o ux_sample.o \
ux_text.o variable.o
-CFLAGS = $(OPTS) $(DEFS) $(INCL)
+CFLAGS+= $(DEFS)
frotz: $(OBJECTS)
$(CC) -o frotz $(OBJECTS) $(LIB) $(CURSES)