summaryrefslogtreecommitdiff
path: root/comms/kermit/patches/patch-aa
blob: dc7d9b54beb16aecc63780c8d7cde38a7eb0060c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$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.