blob: fd0e4a70f74b6ad22446f95acae67680c48405bd (
plain)
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
|
$NetBSD: patch-ab,v 1.12 2003/06/13 10:55:26 cjep Exp $
--- cda_d/Imakefile.orig Wed Aug 8 01:15:13 2001
+++ cda_d/Imakefile Tue Jun 10 13:29:21 2003
@@ -53,7 +53,13 @@
DEFINES= -DBSDCOMPAT -DUSE_TERMIOS
#else
#if defined(NetBSDArchitecture)
-DEFINES= -DBSDCOMPAT -DNOVISUAL -DUSE_TERMIOS
+#if OSMajorVersion == 1 && (OSMinorVersion < 6 || \
+ (OSMinorVersion == 6 && OSTeenyVersion < 20))
+DEFINES= -DBSDCOMPAT -DUSE_TERMIOS
+#else
+DEFINES= -DBSDCOMPAT -DUSE_TERMIOS -DUSE_NETBSD_CURSES
+#define USE_NETBSD_CURSES
+#endif
#else
#if defined(__bsdi__)
.if exists(/usr/include/ncurses.h)
@@ -127,11 +133,16 @@
.endif
#else
#if defined(NetBSDArchitecture)
-LOCAL_LIBRARIES=
+LOCAL_LIBRARIES= ${MOTIFLIB} XawClientLibs
+#if defined USE_NETBSD_CURSES
+LOCAL_LIBRARIES+=-lcurses
+#else
+LOCAL_LIBRARIES+=-lncurses
+#endif
#else
#if defined(__bsdi__)
.if exists(/usr/include/ncurses.h)
-LOCAL_LIBRARIES=-lncurses
+LOCAL_LIBRARIES=-I${LOCALBASE}/include -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lncurses
.else
LOCAL_LIBRARIES=
.endif
|