1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/editors/emacs/files/patch-ac

30 lines
577 B
Plaintext
Raw Normal View History

--- 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