diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-09-18 23:12:38 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-09-18 23:12:38 +0000 |
commit | c41ed00572fa554063b2452fb2f4dca6f5c22097 (patch) | |
tree | db97d170150ac949b48c48df3acb7c5b74a511eb /libexec/rtld-elf/Makefile | |
parent | 72a4495a75f15cc58b96d459818b9f17c509948d (diff) | |
download | FreeBSD-src-c41ed00572fa554063b2452fb2f4dca6f5c22097.zip FreeBSD-src-c41ed00572fa554063b2452fb2f4dca6f5c22097.tar.gz |
META_MODE: No need to fix the link in this case.
The exists(${DESTDIR}...) check runs with DESTDIR being blank. When the
target runs it does have DESTDIR=${STAGE_OBJTOP} via bsd.sys.mk. This
results in the first execution warning that the symlink is missing. The
second run does run fine. However, this chflags is not needed at all
for META_MODE/STAGING since we never had this path being a schg file
while using META_MODE.
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r-- | libexec/rtld-elf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index 2bed4c7..8758c8d 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -77,7 +77,7 @@ SYMBOL_MAPS+= ${.CURDIR}/${RTLD_ARCH}/Symbol.map # 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}) +.if exists(${DESTDIR}/usr/libexec/${PROG}) && ${MK_STAGING} == "no" -chflags -h noschg ${DESTDIR}/usr/libexec/${PROG} .endif |