head 1.2; access; symbols OPENPKG_E1_MP_HEAD:1.2 OPENPKG_E1_MP:1.2 OPENPKG_E1_MP_2_STABLE:1.2 OPENPKG_E1_FP:1.2 OPENPKG_2_STABLE_MP:1.2 OPENPKG_2_STABLE_20061018:1.2 OPENPKG_2_STABLE_20060622:1.2 OPENPKG_2_STABLE:1.2.0.6 OPENPKG_2_STABLE_BP:1.2 OPENPKG_2_5_RELEASE:1.2 OPENPKG_2_5_SOLID:1.2.0.4 OPENPKG_2_5_SOLID_BP:1.2 OPENPKG_2_4_RELEASE:1.2 OPENPKG_2_4_SOLID:1.2.0.2 OPENPKG_2_4_SOLID_BP:1.2 OPENPKG_CW_FP:1.1 OPENPKG_2_3_RELEASE:1.1 OPENPKG_2_3_SOLID:1.1.0.6 OPENPKG_2_3_SOLID_BP:1.1 OPENPKG_2_2_RELEASE:1.1 OPENPKG_2_2_SOLID:1.1.0.4 OPENPKG_2_2_SOLID_BP:1.1 OPENPKG_2_1_RELEASE:1.1 OPENPKG_2_1_SOLID:1.1.0.2 OPENPKG_2_1_SOLID_BP:1.1; locks; strict; comment @# @; 1.2 date 2005.06.11.14.04.12; author mk; state Exp; branches; next 1.1; 1.1 date 2004.06.01.10.35.25; author tho; state Exp; branches; next ; desc @@ 1.2 log @- added netbsd2 recognition - moved docs to $prefix/share/kermit/docs @ text @--- ckutio.c 11 Jun 2005 12:21:05 -0000 1.1.1.1 +++ ckutio.c 11 Jun 2005 12:25:47 -0000 @@@@ -301,6 +301,28 @@@@ #include #endif /* CIE */ +/* Whether to include */ +/* we should define open() before usage (baudboy.h) */ + +#ifndef is68k /* Only a few don't have this one. */ +#ifndef BSD41 +#ifndef FT21 +#ifndef FT18 +#ifndef COHERENT +#include +#endif /* COHERENT */ +#endif /* FT18 */ +#endif /* FT21 */ +#endif /* BSD41 */ +#endif /* not is68k */ + +#ifdef COHERENT +#ifdef _I386 +#include +#else +#include +#endif /* _I386 */ +#endif /* COHERENT */ /* UUCP lockfile material... */ #ifndef NOUUCP @@@@ -785,27 +807,6 @@@@ #endif /* FIONREAD */ #endif /* XENIX */ -/* Whether to include */ - -#ifndef is68k /* Only a few don't have this one. */ -#ifndef BSD41 -#ifndef FT21 -#ifndef FT18 -#ifndef COHERENT -#include -#endif /* COHERENT */ -#endif /* FT18 */ -#endif /* FT21 */ -#endif /* BSD41 */ -#endif /* not is68k */ - -#ifdef COHERENT -#ifdef _I386 -#include -#else -#include -#endif /* _I386 */ -#endif /* COHERENT */ #ifdef ATT7300 /* Unix PC, internal modem dialer */ #include --- ckuver.h 11 Jun 2005 12:21:06 -0000 1.1.1.1 +++ ckuver.h 11 Jun 2005 12:40:21 -0000 @@@@ -173,6 +173,7 @@@@ #endif /* BSDI4 */ #else /* __bsdi__ */ #ifdef __NetBSD__ +#ifndef HERALD #ifdef NETBSD16 #define HERALD " NetBSD 1.6" #else @@@@ -182,6 +183,7 @@@@ #define HERALD " NetBSD" #endif /* NETBSD15 */ #endif /* NETBSD16 */ +#endif /* HERALD */ #else /* __NetBSD__ */ #ifdef __FreeBSD__ #ifdef FREEBSD51 --- makefile 11 Jun 2005 12:21:03 -0000 1.1.1.1 +++ makefile 11 Jun 2005 13:21:45 -0000 @@@@ -1840,6 +1840,15 @@@@ -DCK_DTRCD -DCK_DTRCTS -DTPUTSARGTYPE=int -DFNFLOAT $(KFLAGS) -O" \ "LIBS= -lcurses -lcrypt -lm $(LIBS)" +#NetBSD 2.x - like 1.5.x/1.6 but with uname vanity banner +netbsd2: + @@echo Making C-Kermit $(CKVER) for NetBSD with curses... + $(MAKE) CC=$(CC) CC2=$(CC2) xermit KTARGET=$${KTARGET:-$(@@)} \ + "CFLAGS= -DBSD44 -DCK_CURSES -DTCPSOCKET -DUSE_STRERROR \ + -DHERALD=\"\\\" NetBSD `uname -r`\\\"\" \ + -DCK_DTRCD -DCK_DTRCTS -DTPUTSARGTYPE=int -DFNFLOAT $(KFLAGS) -O" \ + "LIBS= -lcurses -lcrypt -lm $(LIBS)" + #NetBSD with ncurses requested explicitly rather than curses-which-is-ncurses netbsdn: @@echo Making C-Kermit $(CKVER) for NetBSD with ncurses... @ 1.1 log @fixed ordering of includes in ckutio.c @ text @d1 2 a2 2 --- ckutio.c.orig 2004-06-01 12:20:41.000000000 +0200 +++ ckutio.c 2004-06-01 12:22:13.000000000 +0200 d32 1 a32 1 @@@@ -779,27 +801,6 @@@@ d60 36 @