$NetBSD: patch-ab,v 1.5 2000/02/13 19:17:24 fredb Exp $

--- cda_d/Imakefile.orig	Sat Feb  5 01:26:38 2000
+++ cda_d/Imakefile	Sun Feb 13 08:20:52 2000
@@ -50,7 +50,7 @@
 DEFINES= -DBSDCOMPAT -DUSE_TERMIOS
 #else
 #if defined(NetBSDArchitecture)
-DEFINES= -DBSDCOMPAT -DNOVISUAL -DUSE_TERMIOS
+DEFINES= -DBSDCOMPAT -DUSE_TERMIOS
 #else
 #if defined(__bsdi__)
 .if exists(/usr/include/ncurses.h)
@@ -90,7 +90,7 @@
 #endif	/* LinuxArchitecture */
 #endif	/* SunArchitecture */
 
-INCLUDES=-I..
+INCLUDES=-I.. -I${LOCALBASE}/include
 
 
 /*
@@ -109,7 +109,7 @@
 .endif
 #else
 #if defined(NetBSDArchitecture)
-LOCAL_LIBRARIES=
+LOCAL_LIBRARIES=-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lncurses
 #else
 #if defined(__bsdi__)
 .if exists(/usr/include/ncurses.h)
