Author: will
Date: Thu Aug 12 20:46:49 2010
New Revision: 211243
URL: http://svn.freebsd.org/changeset/base/211243

Log:
  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)

Modified:
  head/gnu/lib/libreadline/history/Makefile
  head/gnu/lib/libreadline/readline/doc/Makefile
  head/gnu/usr.bin/cvs/contrib/Makefile
  head/gnu/usr.bin/gdb/doc/Makefile
  head/lib/libexpat/Makefile
  head/secure/lib/libcrypto/Makefile
  head/share/mk/sys.mk

Modified: head/gnu/lib/libreadline/history/Makefile
==============================================================================
--- head/gnu/lib/libreadline/history/Makefile   Thu Aug 12 20:35:14 2010        
(r211242)
+++ head/gnu/lib/libreadline/history/Makefile   Thu Aug 12 20:46:49 2010        
(r211243)
@@ -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
 

Modified: head/gnu/lib/libreadline/readline/doc/Makefile
==============================================================================
--- head/gnu/lib/libreadline/readline/doc/Makefile      Thu Aug 12 20:35:14 
2010        (r211242)
+++ head/gnu/lib/libreadline/readline/doc/Makefile      Thu Aug 12 20:46:49 
2010        (r211243)
@@ -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
 

Modified: head/gnu/usr.bin/cvs/contrib/Makefile
==============================================================================
--- head/gnu/usr.bin/cvs/contrib/Makefile       Thu Aug 12 20:35:14 2010        
(r211242)
+++ head/gnu/usr.bin/cvs/contrib/Makefile       Thu Aug 12 20:46:49 2010        
(r211243)
@@ -24,7 +24,7 @@ Makefile:
        @:
 
 .sh:
-       cp ${.IMPSRC} ${.TARGET}
+       cp -f ${.IMPSRC} ${.TARGET}
 
 .pl:
        sed -e 's,xPERL_PATHx,$(PERLPATH),' ${.IMPSRC} > ${.TARGET}

Modified: head/gnu/usr.bin/gdb/doc/Makefile
==============================================================================
--- head/gnu/usr.bin/gdb/doc/Makefile   Thu Aug 12 20:35:14 2010        
(r211242)
+++ head/gnu/usr.bin/gdb/doc/Makefile   Thu Aug 12 20:46:49 2010        
(r211243)
@@ -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

Modified: head/lib/libexpat/Makefile
==============================================================================
--- head/lib/libexpat/Makefile  Thu Aug 12 20:35:14 2010        (r211242)
+++ head/lib/libexpat/Makefile  Thu Aug 12 20:46:49 2010        (r211243)
@@ -30,6 +30,6 @@ bsdxml.h: expat.h
                > ${.TARGET}
 
 bsdxml_external.h: expat_external.h
-       cp ${.ALLSRC} ${.TARGET}
+       cp -f ${.ALLSRC} ${.TARGET}
 
 .include <bsd.lib.mk>

Modified: head/secure/lib/libcrypto/Makefile
==============================================================================
--- head/secure/lib/libcrypto/Makefile  Thu Aug 12 20:35:14 2010        
(r211242)
+++ head/secure/lib/libcrypto/Makefile  Thu Aug 12 20:46:49 2010        
(r211243)
@@ -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

Modified: head/share/mk/sys.mk
==============================================================================
--- head/share/mk/sys.mk        Thu Aug 12 20:35:14 2010        (r211242)
+++ head/share/mk/sys.mk        Thu Aug 12 20:46:49 2010        (r211243)
@@ -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:
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to