diff options
author | ru <ru@FreeBSD.org> | 2004-11-14 22:18:31 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-11-14 22:18:31 +0000 |
commit | 1808b89247609346e38f66d8b9f9d4bcd6254e43 (patch) | |
tree | 9b2425238159583456a485947f2323bdcea1949b /libexec | |
parent | 3c345cd780869d460fe1d39a3fd6f4db6e5f4171 (diff) | |
download | FreeBSD-src-1808b89247609346e38f66d8b9f9d4bcd6254e43.zip FreeBSD-src-1808b89247609346e38f66d8b9f9d4bcd6254e43.tar.gz |
So do it like we do in usr.bin/tip/tip/Makefile. ;)
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index e5235a9..3179495 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} |