Module Name: src Committed By: gdt Date: Thu Dec 19 01:07:03 UTC 2013
Modified Files: src/external/lgpl3/gmp/lib/libgmp: Makefile Log Message: When copying an .OBJDIR file, rm -f first. Arguably there should be some general mechanism, but there isn't yet, and I hit a build failure at cp ${.CURDIR}/arch/${GMP_MACHINE_ARCH}/config.m4 ${.OBJDIR}/config.m4 because my source tree is mode 444, and hence my previously-copied config.m4 was too. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/external/lgpl3/gmp/lib/libgmp/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/lgpl3/gmp/lib/libgmp/Makefile diff -u src/external/lgpl3/gmp/lib/libgmp/Makefile:1.23 src/external/lgpl3/gmp/lib/libgmp/Makefile:1.24 --- src/external/lgpl3/gmp/lib/libgmp/Makefile:1.23 Wed Dec 4 00:57:21 2013 +++ src/external/lgpl3/gmp/lib/libgmp/Makefile Thu Dec 19 01:07:03 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2013/12/04 00:57:21 mrg Exp $ +# $NetBSD: Makefile,v 1.24 2013/12/19 01:07:03 gdt Exp $ .include <bsd.init.mk> @@ -212,7 +212,7 @@ CLEANFILES+= ${DPSRCS} gen-fac gen-fib g dummy: mkdir dummy ${.OBJDIR}/config.m4: ${.CURDIR}/arch/${GMP_MACHINE_ARCH}/config.m4 - cp ${.CURDIR}/arch/${GMP_MACHINE_ARCH}/config.m4 ${.OBJDIR}/config.m4 + rm -f ${.OBJDIR}/config.m4 && cp ${.CURDIR}/arch/${GMP_MACHINE_ARCH}/config.m4 ${.OBJDIR}/config.m4 CLEANFILES+= config.m4 clean: cleandummy