1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/editors/mule-common/files/patch-na

20 lines
407 B
Plaintext
Raw Normal View History

--- 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 -lxpg4
+#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