aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2012-12-04 14:36:01 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2012-12-04 14:36:01 +0000
commit456b64c4433386b36977e58f4f8ffddd489131fe (patch)
treef0e77081091f3865b40890db9fee20ce1d61418d /libexec
parentc1e231bcbbf3eb4f50d264b97b7804932b68d4cc (diff)
downloadsrc-456b64c4433386b36977e58f4f8ffddd489131fe.tar.gz
src-456b64c4433386b36977e58f4f8ffddd489131fe.zip
Use absolute path for /usr/libexec/ld-elf.so.1 symlink.
Requested by: kan, kib Use -h flags for chflags, so we won't remove 'schg' flag from system's /libexec/ld-elf.so.1. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=243864
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index 9a7170f6343f..e41477d65190 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -28,7 +28,7 @@ WARNS?= 2
INSTALLFLAGS= -C -b
PRECIOUSPROG=
BINDIR= /libexec
-SYMLINKS= ../..${BINDIR}/${PROG} /usr/libexec/${PROG}
+SYMLINKS= ${BINDIR}/${PROG} /usr/libexec/${PROG}
MLINKS= rtld.1 ld-elf.so.1.1 \
rtld.1 ld.so.1
@@ -62,7 +62,7 @@ SYMBOL_MAPS+= ${.CURDIR}/${RTLD_ARCH}/Symbol.map
# 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}
+ -chflags -h noschg ${DESTDIR}/usr/libexec/${PROG}
.endif
.PATH: ${.CURDIR}/${RTLD_ARCH}