DragonFly BSD
DragonFly bugs List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

installworld fails in usr.bin/tip/tip


From: YONETANI Tomokazu <qhwt+dragonfly-bugs@xxxxxxxxxx>
Date: Thu, 9 Sep 2004 14:35:03 +0900

[This problem has originally been pointed out in Miyamoto-san's (Cc:'ed)
web diary, but he seemed to have no time to track this down or submit
the report to bugs@]

Recently, cu(1) has been replaced by tip(1). However, since cu is installed
with schg set on older system, creating a hard link from tip to cu is
refused and install fails. Looking at other Makefile's, removing schg in
beforeinstall target seems to solve the problem.

Index: usr.bin/tip/tip/Makefile
===================================================================
RCS file: /home/source/dragonfly/cvs/src/usr.bin/tip/tip/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- usr.bin/tip/tip/Makefile	3 Sep 2004 20:48:16 -0000	1.3
+++ usr.bin/tip/tip/Makefile	9 Sep 2004 05:25:04 -0000
@@ -33,4 +33,7 @@
 # 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.
 
+beforeinstall:
+	chflags noschg ${DESTDIR}${BINDIR}/cu || true
+
 .include <bsd.prog.mk>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]