aboutsummaryrefslogtreecommitdiffstats
path: root/editors/mule-common/files/patch-na
blob: bbcfbee5b92986fc60e420e99b4442cb2100c99b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/s/freebsd.h.~1~ Tue Jan 25 16:40:44 2000
+++ src/s/freebsd.h Tue Jan 25 16:45:23 2000
@@ -43,7 +43,16 @@
 
 #define LIBS_DEBUG
 #define LIBS_SYSTEM -lutil -lcrypt
+#if __FreeBSD_version < 400000
 #define LIBS_TERMCAP -ltermcap
+#else
+#ifdef HAVE_LIBNCURSES
+#define TERMINFO
+#define LIBS_TERMCAP -lncurses
+#else
+#define LIBS_TERMCAP -ltermcap
+#endif
+#endif
 
 #define SYSV_SYSTEM_DIR