openbsd-ports/misc/ytree/patches/patch-Makefile
2001-06-04 23:17:32 +00:00

35 lines
1.0 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2001/06/04 23:17:34 naddy Exp $
--- Makefile.orig Fri Jun 1 21:33:10 2001
+++ Makefile Fri Jun 1 21:34:38 2001
@@ -6,7 +6,7 @@
#
############################################################################
-CC = cc
+#CC = cc
#
# ADD_CFLAGS: Add -DVI_KEYS if you want vi-cursor-keys
@@ -25,12 +25,18 @@ MANESDIR = $(DESTDIR)/share/man/es/ma
# Uncomment the lines for your system (default is linux)
###########################
+# OpenBSD
+###########################
+CFLAGS += -DCOLOR_SUPPORT -DNCURSES
+LIBS = -lcurses
+
+###########################
# LINUX (testet with ncurses 5.2)
###########################
-COLOR = -DCOLOR_SUPPORT
+#COLOR = -DCOLOR_SUPPORT
#CLOCK = -DCLOCK_SUPPORT # Experimental!
-CFLAGS = $(ADD_CFLAGS) $(COLOR) $(CLOCK)
-LIBS = -lncurses
+#CFLAGS = $(ADD_CFLAGS) $(COLOR) $(CLOCK)
+#LIBS = -lncurses
###########################
# LINUX (X11 using PDCurses) thanks to Mark Hessling