summaryrefslogtreecommitdiff
path: root/devel/cdk/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cdk/patches/patch-ah')
-rw-r--r--devel/cdk/patches/patch-ah26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/cdk/patches/patch-ah b/devel/cdk/patches/patch-ah
new file mode 100644
index 00000000000..a5dcea4b5bb
--- /dev/null
+++ b/devel/cdk/patches/patch-ah
@@ -0,0 +1,26 @@
+$NetBSD: patch-ah,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $
+--- exam/Makefile.orig Tue Apr 7 09:25:04 1998
++++ exam/Makefile Tue Dec 1 16:12:44 1998
+@@ -5,17 +5,17 @@
+ #
+ # Change these as needed.
+ #
+-ROOTDIR = /export/local
+-INCDIR = -I/usr/include/ncurses -I$(ROOTDIR)/include
+-LIBDIR = -L$(ROOTDIR)/lib
+-LIBS = -lcdk -lcurses -lm
++ROOTDIR = /usr/pkg
++INCDIR = -I$(ROOTDIR)/include
++LIBDIR = -Wl,-R$(ROOTDIR)/lib -L$(ROOTDIR)/lib
++LIBS = -lcdk -lncurses -lm
+ BINS = alphalist_ex bind_ex calendar_ex cdkscreen_ex dialog_ex\
+ entry_ex fselect_ex graph_ex hello_ex histogram_ex\
+ itemlist_ex label_ex marquee_ex matrix_ex mentry_ex\
+ menu_ex position_ex preprocess_ex radio_ex scale_ex\
+ scroll_ex selection_ex slider_ex subwindow_ex\
+ swindow_ex template_ex viewer_ex vinstall
+-CFLAGS = -g -Wall
++CFLAGS = -O -DNCURSES
+ CC = gcc
+ default: all
+ all: $(BINS)