So do it like we do in usr.bin/tip/tip/Makefile. ;)

This commit is contained in:
Ruslan Ermilov 2004-11-14 22:18:31 +00:00
parent ecf4dc2505
commit 1b1aa7e465
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137705

View File

@ -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}