diff --git a/gnu/lib/libreadline/history/Makefile b/gnu/lib/libreadline/history/Makefile index 7c8349653c80..16028728db2f 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 42254de7fdaa..70289718f5e9 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 diff --git a/gnu/usr.bin/cvs/contrib/Makefile b/gnu/usr.bin/cvs/contrib/Makefile index 5a8a8b5215fd..2ac3618e7cde 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 a09f66a9b123..626f02de334c 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 diff --git a/lib/libexpat/Makefile b/lib/libexpat/Makefile index ab9b0e80d689..9b641c1dfc81 100644 --- a/lib/libexpat/Makefile +++ b/lib/libexpat/Makefile @@ -30,6 +30,6 @@ bsdxml.h: expat.h > ${.TARGET} bsdxml_external.h: expat_external.h - cp ${.ALLSRC} ${.TARGET} + cp -f ${.ALLSRC} ${.TARGET} .include diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile index 8a085891b7be..212427fb9fe9 100644 --- a/secure/lib/libcrypto/Makefile +++ b/secure/lib/libcrypto/Makefile @@ -355,13 +355,13 @@ buildinf.h: ${.CURDIR}/Makefile echo "#endif" ) > ${.TARGET} opensslconf.h: opensslconf-${MACHINE_ARCH}.h - cp ${.ALLSRC} ${.TARGET} + cp -f ${.ALLSRC} ${.TARGET} evp.h: ${LCRYPTO_SRC}/crypto/evp/evp.h .if ${MK_IDEA} == "no" sed '/^#ifndef OPENSSL_NO_IDEA$$/,/^#endif$$/d' ${.ALLSRC} > ${.TARGET} .else - cp ${.ALLSRC} ${.TARGET} + cp -f ${.ALLSRC} ${.TARGET} .endif # No FIPS support for now diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 1131f31a0501..dbd7fa088667 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -167,7 +167,7 @@ YFLAGS ?= -d ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}) .sh: - cp ${.IMPSRC} ${.TARGET} + cp -f ${.IMPSRC} ${.TARGET} chmod a+x ${.TARGET} # DOUBLE SUFFIX RULES @@ -225,7 +225,7 @@ YFLAGS ?= -d # non-Posix rule set .sh: - cp -p ${.IMPSRC} ${.TARGET} + cp -fp ${.IMPSRC} ${.TARGET} chmod a+x ${.TARGET} .c.ln: