Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/resize disable the rule to copy resize.c since it fa...



details:   https://anonhg.NetBSD.org/src/rev/170b9979d214
branches:  trunk
changeset: 959899:170b9979d214
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 28 09:04:28 2021 +0000

description:
disable the rule to copy resize.c since it fails on r/o src trees:

cp: /home/source/ab/HEAD/src/usr.bin/resize/resize.c: Permission denied

diffstat:

 usr.bin/resize/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 1e94c4f95152 -r 170b9979d214 usr.bin/resize/Makefile
--- a/usr.bin/resize/Makefile   Sun Feb 28 07:51:29 2021 +0000
+++ b/usr.bin/resize/Makefile   Sun Feb 28 09:04:28 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2021/02/28 00:43:24 christos Exp $
+#      $NetBSD: Makefile,v 1.6 2021/02/28 09:04:28 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -13,6 +13,8 @@
 
 XTERM=${X11SRCDIR}/external/mit/xterm/dist
 
+# XXX disable for now; breaks on r/o source trees.
+.if 0
 .if exists(${XTERM})
 .for i in resize.c resize.man
 copy:: ${.CURDIR}/${i}
@@ -20,6 +22,7 @@
        cp -p ${.ALLSRC} ${.TARGET}
 .endfor
 .endif
+.endif
 
 CLEANFILES+=resize.1
 



Home | Main Index | Thread Index | Old Index