From fd136031ceff193a9faff1c5a1283bfd251e29a7 Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 28 May 2001 16:58:35 +0000 Subject: Use new backup feature of install(1). --- libexec/rtld-elf/Makefile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'libexec') diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index 0e80509..f0556c0 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -7,7 +7,7 @@ SRCS= rtld_start.S rtld.c lockdflt.c map_object.c malloc.c \ MAN= rtld.1 CFLAGS+= -Wall -DFREEBSD_ELF -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR} LDFLAGS+= -nostdlib -e .rtld_start -INSTALLFLAGS+= -fschg -C +INSTALLFLAGS= -fschg -C -b MLINKS= rtld.1 ld-elf.so.1.1 .if exists(${.CURDIR}/${MACHINE_ARCH}/Makefile.inc) @@ -42,16 +42,3 @@ dyn_hack.so: .PATH: ${.CURDIR}/${MACHINE_ARCH} .include - -# Keep the previous version of the dynamic linker for recovery -# purposes. This must come after the include of so that -# BINDIR is set for the exists(...) constructs. -beforeinstall: -.if exists(${DESTDIR}${BINDIR}/${PROG}) - -chflags noschg ${DESTDIR}${BINDIR}/${PROG} -.if exists(${DESTDIR}${BINDIR}/${PROG}.old) - -chflags noschg ${DESTDIR}${BINDIR}/${PROG}.old -.endif - ${INSTALL} -C -p ${DESTDIR}${BINDIR}/${PROG} \ - ${DESTDIR}${BINDIR}/${PROG}.old -.endif -- cgit v1.1