From a5bff01e54953043eb4823eab0366d52fc9ad919 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 28 Sep 2000 16:41:51 +0000 Subject: Use _PATH_UUCPLOCK from path.h rather than /var/spool/uucp. Requested by: Daniel O'Connor --- comms/minicom/Makefile | 1 + comms/minicom/files/patch-ai | 23 ++++++++++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) (limited to 'comms') diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile index 057a132f2c54..5e2c155d1b12 100644 --- a/comms/minicom/Makefile +++ b/comms/minicom/Makefile @@ -8,6 +8,7 @@ PORTNAME= minicom PORTVERSION= 1.83.1 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_SUNSITE} \ http://www.pp.clinet.fi/~walker/mc-dev/ \ diff --git a/comms/minicom/files/patch-ai b/comms/minicom/files/patch-ai index 104b21d29a71..a1cefc1255c8 100644 --- a/comms/minicom/files/patch-ai +++ b/comms/minicom/files/patch-ai @@ -1,6 +1,23 @@ ---- config.h.orig Fri Oct 31 11:48:00 1997 -+++ config.h Thu Jul 22 02:30:39 1999 -@@ -58,7 +58,7 @@ +--- 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 ++#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" -- cgit v1.2.3