summaryrefslogtreecommitdiffstats
path: root/usr.bin/tip
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tip')
-rw-r--r--usr.bin/tip/tip/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/tip/tip/Makefile b/usr.bin/tip/tip/Makefile
index 5b67c36..fb2bf93 100644
--- a/usr.bin/tip/tip/Makefile
+++ b/usr.bin/tip/tip/Makefile
@@ -17,8 +17,9 @@ LIBACU=${.CURDIR}/../libacu/libacu.a
PROG= tip
DPADD= ${LIBACU} ${LIBUTIL}
LDADD= ${LIBACU} -lutil
-LINKS= ${BINDIR}/tip
+LINKS= ${BINDIR}/tip ${BINDIR}/cu
MAN= tip.1 modems.5
+MLINKS= tip.1 cu.1
SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
remote.c tip.c tipout.c value.c vars.c
@@ -26,9 +27,13 @@ BINDIR?= /usr/bin
BINOWN= uucp
BINGRP= dialer
#BINMODE?= 4510
-INSTALLFLAGS= -fschg
# XXX: there is some concern that `tip' in its current state shouldn't run
# SUID. If it believed it should, the mode above may still no be proper.
+# Dirty, rotten hack. This can be removed when we are confident that there
+# is no cu(1) with the schg-bit set.
+beforeinstall:
+ -@chflags noschg ${DESTDIR}/${BINDIR}/cu
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud