summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-05-28 16:58:35 +0000
committerru <ru@FreeBSD.org>2001-05-28 16:58:35 +0000
commitfd136031ceff193a9faff1c5a1283bfd251e29a7 (patch)
treedf6973391fc87c097133dee8a54ec4a74a9aaf02 /libexec
parentd893654545fd16a39ef20487e90e3ebb42c57dcb (diff)
downloadFreeBSD-src-fd136031ceff193a9faff1c5a1283bfd251e29a7.zip
FreeBSD-src-fd136031ceff193a9faff1c5a1283bfd251e29a7.tar.gz
Use new backup feature of install(1).
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/Makefile15
1 files changed, 1 insertions, 14 deletions
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 <bsd.prog.mk>
-
-# Keep the previous version of the dynamic linker for recovery
-# purposes. This must come after the include of <bsd.prog.mk> 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
OpenPOWER on IntegriCloud