openbsd-ports/comms/conserver/patches/patch-aa

46 lines
1.3 KiB
Plaintext
Raw Normal View History

2001-02-27 18:36:18 -05:00
--- conserver/Makefile.orig Wed Feb 28 00:26:07 2001
+++ conserver/Makefile Wed Feb 28 00:27:47 2001
@@ -7,8 +7,8 @@
# (1) change ETC below to where you would like the console server installed
1998-04-28 23:31:56 -04:00
# I would not change the name, you have to much with the docs then...
PROG= conserver
-ETC= ${DESTDIR}/usr/local/etc
-DOC= ${DESTDIR}/usr/local/man
+ETC= ${DESTDIR}/usr/local/sbin
+DOC= ${DESTDIR}/usr/local/man/man8
# if we have to PUCC ptyd daemon we can use it to get ptys, else use fallback.o
2001-02-27 18:36:18 -05:00
# and change the CDEFS line below to =0
@@ -23,9 +23,9 @@
P=
1998-04-28 23:31:56 -04:00
INCLUDE=
2001-02-27 18:36:18 -05:00
-DEBUG=-O
1998-04-28 23:31:56 -04:00
-CDEFS= -DSUN5 -DHAVE_PTYD=0 -DDO_VIRTUAL=1
2001-02-27 18:36:18 -05:00
-CFLAGS= ${DEBUG} ${CDEFS} ${INCLUDE}
+DEBUG=
1998-04-28 23:31:56 -04:00
+CDEFS= -DOPENBSD -DHAVE_PTYD=0 -DDO_VIRTUAL=1 -DPORT=782
2001-02-27 18:36:18 -05:00
+CFLAGS+= ${DEBUG} ${CDEFS} ${INCLUDE}
1998-04-28 23:31:56 -04:00
2001-02-27 18:36:18 -05:00
HDR= cons.h \
access.h client.h consent.h group.h main.h master.h \
@@ -41,7 +41,7 @@
all: ${PROG}
1998-04-28 23:31:56 -04:00
${PROG}:$P ${OBJ}
- ${CC} -o $@ ${CFLAGS} ${OBJ} ${PUCCLIB} -lsocket -lnsl
+ ${CC} -o $@ ${CFLAGS} ${OBJ} ${PUCCLIB}
clean: FRC
2001-02-27 18:36:18 -05:00
rm -f Makefile.bak ${PROG} a.out *.o core errs lint.out tags
@@ -59,7 +59,8 @@
distrib -c ${ETC}/${PROG}
1998-04-28 23:31:56 -04:00
install: all dirs FRC
- install -c -s ${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}/conserver.8
lint: ${HDR} ${SRC} FRC
2001-02-27 18:36:18 -05:00
lint -h ${CDEFS} ${INCLUDE} ${SRC}