summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2010-08-12 20:46:49 +0000
committerwill <will@FreeBSD.org>2010-08-12 20:46:49 +0000
commit10d63a94a97ccfa8ed87bbb189685811693e2574 (patch)
tree2a23665239368ffe96f2c097e25938dd3bf66f4a /gnu/usr.bin
parent66fa23844575c915ddd0cfe9b7f20cba0f0c97a6 (diff)
downloadFreeBSD-src-10d63a94a97ccfa8ed87bbb189685811693e2574.zip
FreeBSD-src-10d63a94a97ccfa8ed87bbb189685811693e2574.tar.gz
Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as
read-only by default, meaning files copied can't be overwritten next time. Reviewed by: imp Approved by: ken (mentor)
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cvs/contrib/Makefile2
-rw-r--r--gnu/usr.bin/gdb/doc/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/cvs/contrib/Makefile b/gnu/usr.bin/cvs/contrib/Makefile
index 5a8a8b52..2ac3618 100644
--- a/gnu/usr.bin/cvs/contrib/Makefile
+++ b/gnu/usr.bin/cvs/contrib/Makefile
@@ -24,7 +24,7 @@ Makefile:
@:
.sh:
- cp ${.IMPSRC} ${.TARGET}
+ cp -f ${.IMPSRC} ${.TARGET}
.pl:
sed -e 's,xPERL_PATHx,$(PERLPATH),' ${.IMPSRC} > ${.TARGET}
diff --git a/gnu/usr.bin/gdb/doc/Makefile b/gnu/usr.bin/gdb/doc/Makefile
index a09f66a..626f02d 100644
--- a/gnu/usr.bin/gdb/doc/Makefile
+++ b/gnu/usr.bin/gdb/doc/Makefile
@@ -20,11 +20,11 @@ GDBvn.texi: version.in
echo "@set GDBVN `sed q ${.ALLSRC}`" > ${.TARGET}
inc-hist.texinfo: hsuser.texi inc-hist.diff
- cp ${.ALLSRC:M*.texi} ${.TARGET}
+ cp -f ${.ALLSRC:M*.texi} ${.TARGET}
patch < ${.ALLSRC:M*.diff}
rluser.texinfo: rluser.texi
- cp ${.ALLSRC:M*.texi} ${.TARGET}
+ cp -f ${.ALLSRC:M*.texi} ${.TARGET}
CLEANFILES= gdb-cfg.texi GDBvn.texi inc-hist.texinfo inc-hist.texinfo.orig \
rluser.texinfo
OpenPOWER on IntegriCloud