summaryrefslogtreecommitdiffstats
path: root/gnu/lib
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/lib
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/lib')
-rw-r--r--gnu/lib/libreadline/history/Makefile2
-rw-r--r--gnu/lib/libreadline/readline/doc/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libreadline/history/Makefile b/gnu/lib/libreadline/history/Makefile
index 7c83496..1602872 100644
--- a/gnu/lib/libreadline/history/Makefile
+++ b/gnu/lib/libreadline/history/Makefile
@@ -8,7 +8,7 @@ MAN= rlhistory.3
SRCS= $(HISTSRC) xmalloc.c
rlhistory.3: doc/history.3
- cp ${.ALLSRC} ${.TARGET}
+ cp -f ${.ALLSRC} ${.TARGET}
CLEANFILES+= rlhistory.3
diff --git a/gnu/lib/libreadline/readline/doc/Makefile b/gnu/lib/libreadline/readline/doc/Makefile
index 42254de..7028971 100644
--- a/gnu/lib/libreadline/readline/doc/Makefile
+++ b/gnu/lib/libreadline/readline/doc/Makefile
@@ -13,7 +13,7 @@ CLEANFILES += readline.texi
readline.info: rlman.texi rluser.texi rltech.texi version.texi fdl.texi
readline.texi: rlman.texi
- cp ${SRCDIR}/rlman.texi ${.TARGET}
+ cp -f ${SRCDIR}/rlman.texi ${.TARGET}
rluserman.info: rluserman.texi version.texi rluser.texi fdl.texi
OpenPOWER on IntegriCloud