summaryrefslogtreecommitdiff
path: root/comms/conserver/files/patch-ae
blob: 1d676c4b7570d5d450b43a6356cf1772030fa0e9 (plain) (blame)
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
--- console/Makefile.orig	Sat Nov 22 20:42:18 1997
+++ console/Makefile	Sat Nov 22 20:43:43 1997
@@ -6,8 +6,8 @@
 # edit the ETC directory below to change where the console client
 # is installed.
 PROG=	console
-ETC=	${DESTDIR}/usr/local/etc
-DOC=	${DESTDIR}/usr/local/man
+ETC=	${DESTDIR}/usr/local/sbin
+DOC=	${DESTDIR}/usr/local/man/man8
 
 I=/usr/include
 S=/usr/include/sys
@@ -17,7 +17,7 @@
 
 INCLUDE= -I$C
 DEBUG=-O
-CDEFS=  -DSUN5
+CDEFS=  -DFREEBSD
 CFLAGS= ${DEBUG} ${CDEFS} ${INCLUDE}
 
 HDR=	
@@ -29,7 +29,7 @@
 all: ${PROG}
 
 ${PROG}:
-	${CC} -o $@ ${CFLAGS} ${ONEC} -lsocket -lnsl
+	${CC} -o $@ ${CFLAGS} ${ONEC}
 
 clean: FRC
 	rm -f Makefile.bak ${PROG} a.out *.o core errs lint.out tags
@@ -47,7 +47,8 @@
 	distrib -c ${ETC}/${PROG}
 
 install: all dirs FRC
-	install -cs ${PROG} ${ETC}/${PROG}
+	install -c -s -o bin -g bin -m 555 ${PROG} ${ETC}/${PROG}
+	install -c -o bin -g bin -m 444 ${MAN} ${DOC}/console.8
 
 lint: ${HDR} ${ONEC} FRC
 	lint -h ${CDEFS} ${INCLUDE} ${ONEC}