pkgsrc/comms/kermit/patches/patch-aa
drochner d216d19213 update to 8.0.211
C-Kermit 8.0.211 is a "stability release" -- mostly bug fixes, only a
handful of new features:
    INPUT /NOMATCH timeout (waits for the entire interval without trying
     to match anything; useful for scripted logging).
    SET INPUT SCALE-FACTOR (lets you scale INPUT timeouts); \v(inscale),
     SHOW INPUT.
    ASK[Q] and GETOK /DEFAULT:text (lets you supply default answer).
    FREAD /TRIM and FREAD /UNTABIFY.
    \funtabify(string).
    ON_CD macro (if you define one, it executes automatically whenever
     you tell Kermit to change directories).
2004-04-15 18:14:52 +00:00

32 lines
1.3 KiB
Text

$NetBSD: patch-aa,v 1.7 2004/04/15 18:14:52 drochner Exp $
--- makefile.orig 2004-04-11 19:21:42.000000000 +0200
+++ makefile 2004-04-14 15:42:12.000000000 +0200
@@ -745,8 +745,8 @@
K5INC=-I/usr/kerberos/include
SRPLIB=-L$(srproot)/lib
SRPINC=-I$(srproot)/include
-SSLLIB=-L$(sslroot)/ssl/lib
-SSLINC=-I$(sslroot)/ssl/include
+#SSLLIB=-L$(sslroot)/ssl/lib
+#SSLINC=-I$(sslroot)/ssl/include
#
# aix41+krb5+krb4: IBM AIX 4.1 with Kerberos IV and V
# aix43gcc+krb5+krb4: IBM AIX 4.3 built with gcc, ditto
@@ -1821,6 +1821,16 @@
-DCK_DTRCD -DCK_DTRCTS -DTPUTSARGTYPE=int -DFNFLOAT $(KFLAGS) -O" \
"LIBS= -lcurses -lcrypt -lm $(LIBS)"
+# For NetBSD 1.6 and later OpenSSL is included
+netbsd+openssl:
+ @echo Making C-Kermit $(CKVER) for NetBSD with curses...
+ $(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \
+ "CFLAGS= -DBSD44 -DCK_CURSES -DTCPSOCKET -DUSE_STRERROR \
+ -DNETBSD15 -DNETBSD16 \
+ -DCK_AUTHENTICATION -DCK_SSL $(SSLINC) -DZLIB \
+ -DCK_DTRCD -DCK_DTRCTS -DTPUTSARGTYPE=int -DFNFLOAT $(KFLAGS) -O" \
+ "LIBS= -lcurses -lcrypt $(SSLLIB) -lssl -lcrypto -lm $(LIBS)"
+
#NetBSD 1.5.x in which the return type of the function pointer that is the
#third argument of tputs() was changed from void to int... The regular NetBSD
#target builds OK here but this one eliminates the (harmless) warning.