$NetBSD: patch-ab,v 1.8 2001/07/24 16:00:02 nra Exp $

--- cda_d/Imakefile.orig	Mon Jul 16 12:52:16 2001
+++ cda_d/Imakefile	Mon Jul 23 14:43:24 2001
@@ -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)
@@ -120,11 +120,12 @@
 .endif
 #else
 #if defined(NetBSDArchitecture)
-LOCAL_LIBRARIES=
+LOCAL_LIBRARIES= ${MOTIFLIB} XawClientLibs
+LOCAL_LIBRARIES+=-lncurses
 #else
 #if defined(__bsdi__)
 .if exists(/usr/include/ncurses.h)
-LOCAL_LIBRARIES=-lncurses
+LOCAL_LIBRARIES=-I/usr/pkg/include -L/usr/pkg/lib -lncurses
 .else
 LOCAL_LIBRARIES=
 .endif
