To: freebsd-hackers@freebsd.org Subject: Patch for src/Makefile bootstrapld to allow for magic number increments This is a patch kit to be applied to FreeBSD /usr/src/Makefile bootstrapld etc, to prevent it failing each time a.out magic numbers (ZMAGIC etc) change, (which previously required manual intervention & a degree of knowledge about bootstraping that not everyone (me included) has ). Strategy Gary Jennejohn *** old/lib/libc/Makefile Fri Jan 14 15:28:35 1994 --- new/lib/libc/Makefile Fri Jan 14 21:23:41 1994 *************** *** 10,15 **** --- 10,22 ---- AINC= -I${.CURDIR}/${MACHINE} INSTALL_PIC_ARCHIVE= + # install_pic is called direct from /usr/src/Makefile/bootstrapld: + install_pic: + -mv ${DESTDIR}${LIBDIR}/libc_pic.a ${DESTDIR}${LIBDIR}/libc_pic.old.a + install ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ + lib${LIB}_pic.a ${DESTDIR}${LIBDIR} + ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a + .include "${.CURDIR}/compat-43/Makefile.inc" .include "${.CURDIR}/db/Makefile.inc" .include "${.CURDIR}/gen/Makefile.inc" --- Cut Here ---------------