1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/comms/minicom/files/patch-ai
David E. O'Brien a5bff01e54 Use _PATH_UUCPLOCK from path.h rather than /var/spool/uucp.
Requested by:	Daniel O'Connor <doconnor@gsoft.com.au>
2000-09-28 16:41:51 +00:00

29 lines
898 B
Plaintext

--- config.h.orig Wed Mar 15 08:25:21 2000
+++ config.h Thu Sep 28 09:38:44 2000
@@ -18,10 +18,16 @@
* and adjust them to your system.
*/
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#include <paths.h>
+#endif
+
/* Operating system INdependant parameters. (Usually the same everywhere) */
#define KERMIT "/usr/local/bin/kermit -l %l -b %b" /* How to call kermit */
#ifdef SVR4_LOCKS
# define UUCPLOCK "/var/spool/locks" /* SVR4 version of Lock file directory */
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+# define UUCPLOCK _PATH_UUCPLOCK /* Lock file directory */
#else
# define UUCPLOCK "/var/spool/uucp" /* Lock file directory */
#endif
@@ -62,7 +68,7 @@
#ifdef __FreeBSD__
# define DFL_PORT "/dev/modem"
-# define DEF_BAUD "19200"
+# define DEF_BAUD "57600"
# define CALLOUT ""
# define CALLIN ""
#endif