aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-11-14 22:18:31 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-11-14 22:18:31 +0000
commit1b1aa7e4652708cd34bc4893cc4ddd19988660b0 (patch)
tree9b2425238159583456a485947f2323bdcea1949b
parentecf4dc2505b4a9f5e98e66f7a09614ce22441297 (diff)
Notes
-rw-r--r--libexec/rtld-elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index e5235a92a2016..31794951a593e 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -48,7 +48,9 @@ dyn_hack.so:
# Since moving rtld-elf to /libexec, we need to create a symlink.
# Fixup the existing binary that's there so we can symlink over it.
beforeinstall:
+.if exists(${DESTDIR}/usr/libexec/${PROG})
-chflags noschg ${DESTDIR}/usr/libexec/${PROG}
+.endif
.PATH: ${.CURDIR}/${MACHINE_ARCH}