freebsd-ports/misc/ytree/files/patch-aa
Steve Price c83b555366 Update to version 1.67.
PR:		17721
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-04-30 20:15:29 +00:00

44 lines
1.1 KiB
Plaintext

--- Makefile.orig Sun Jan 2 08:17:33 2000
+++ Makefile Thu Mar 30 20:28:01 2000
@@ -6,13 +6,13 @@
#
############################################################################
-CC = cc
+CC ?= cc
#
# ADD_CFLAGS: Add -DVI_KEYS if you want vi-cursor-keys
#
-ADD_CFLAGS = -O # -DVI_KEYS
+#ADD_CFLAGS = -O # -DVI_KEYS
LFLAGS =
BINDIR = /usr/bin
@@ -27,10 +27,10 @@
###########################
# If color doesn't work, comment out
# the following line and recompile
-COLOR = -DCOLOR_SUPPORT
+#COLOR = -DCOLOR_SUPPORT
#CLOCK = -DCLOCK_SUPPORT
-CFLAGS = $(ADD_CFLAGS) $(COLOR) $(CLOCK)
-LIBS = -lncurses
+#CFLAGS = $(ADD_CFLAGS) $(COLOR) $(CLOCK)
+#LIBS = -lncurses
###########################
# LINUX without ncurses
@@ -41,8 +41,8 @@
###########################
# FreeBSD (Thanks to Peter Brevik)
###########################
-#CFLAGS = -DCOLOR_SUPPORT -DNCURSES
-#LIBS = -lncurses -lmytinfo -lcompat
+CFLAGS += -DCOLOR_SUPPORT -DNCURSES
+LIBS = -lncurses -lmytinfo -lcompat
###########################
# DOS/Windows with DJGPP