summaryrefslogtreecommitdiff
path: root/editors/emacs23/files/patch-ac
blob: 0c0a713b1c5542e63370e8b8b2f69eea912b68d3 (plain) (blame)
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
--- src/s/freebsd.h.orig	Mon Jun 10 04:14:32 1996
+++ src/s/freebsd.h	Mon May 26 21:21:55 1997
@@ -33,9 +33,16 @@
 
 #define LIBS_DEBUG
 #define LIBS_SYSTEM -lutil
-#define LIBS_TERMCAP -ltermcap
 #define LIB_GCC -lgcc
 
+#ifdef HAVE_LIBNCURSES
+#define TERMINFO
+#define LIBS_TERMCAP -lncurses
+#else
+#define LIBS_TERMCAP -ltermcap
+#endif
+
+
 #define SYSV_SYSTEM_DIR
 
 /* freebsd has POSIX-style pgrp behavior. */
@@ -80,6 +87,8 @@
 #define BSD 199103
 #elif __FreeBSD__ == 2
 #define BSD 199306
+#elif __FreeBSD__ == 3
+#define BSD 199506
 #endif
 
 #define WAITTYPE int