summaryrefslogtreecommitdiff
path: root/misc/ytree/files/patch-aa
blob: 584681c4dc06094b0ad22d47edd5c212f51ba8f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- 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