summaryrefslogtreecommitdiff
path: root/security/cfs/patches/patch-aa
blob: db8b2499343126d9259518272bbfbb6d72007f76 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
$NetBSD: patch-aa,v 1.4 2001/06/09 04:32:14 jlam Exp $

--- Makefile.orig	Thu May  3 11:29:21 2001
+++ Makefile	Fri Jun  8 21:15:13 2001
@@ -74,18 +74,19 @@
 #CC=cc
 #COPT=-O -DNOT_ANSI_C -DPROTOTYPES=0
 # for gcc, use
-CC=gcc
-COPT=-O2 -DPROTOTYPES=1
+#CC=gcc
+#COPT=-O2 -DPROTOTYPES=1
+CFLAGS+=${CFS_CFLAGS}
 
 #1B: paths:
 #some peple like /usr/local/sbin instead of /usr/local/etc
-BINDIR=/usr/local/bin
-ETCDIR=/usr/local/etc
+BINDIR=${PREFIX}/bin
+ETCDIR=${PREFIX}/sbin
 PRINTCMD=enscript -Gr2
 # you only need RSAREF for ESM
 # these paths WILL have to be changed...
-RSALIB=/usr/mab/rsaref/install/rsaref.a
-RINCLUDES=/usr/mab/rsaref/source
+#RSALIB=/usr/mab/rsaref/install/rsaref.a
+#RINCLUDES=/usr/mab/rsaref/source
 
 # if you're a paranoid fascist, you might want to configure
 # default timeouts on the attach command.  If you do,
@@ -229,7 +230,7 @@
 # (3/3) CONFIGURE: one last thing
 #==========================================================================
 # finally, comment out the next line:
-CC=you_forgot_to_edit_the_makefile
+#CC=you_forgot_to_edit_the_makefile
 
 # now you're done with local configuration.
 
@@ -322,6 +323,7 @@
 
 nfsproto.h: nfsproto.x
 	rpcgen $(RPCOPTS) -h -o nfsproto.h nfsproto.x
+	./unansi ${OPSYS} nfsproto.h
 
 admproto_xdr.c: admproto.x
 	rpcgen $(RPCOPTS) -c -o admproto_xdr.c admproto.x 
@@ -331,6 +333,7 @@
 
 admproto.h: admproto.x
 	rpcgen $(RPCOPTS) -h -o admproto.h admproto.x
+	./unansi ${OPSYS} admproto.h
 
 admproto_clnt.c: admproto.x
 	rpcgen $(RPCOPTS) -l -o admproto_clnt.c admproto.x