Add NODESCRYPTLINKS knob to prevent spamming of libcrypt -> libscrypt

symlinks. The name is against my better judgement, but I defer to ancient
tradition here because I'm a nice guy.

Reviewed by:	-current
This commit is contained in:
Kris Kennaway 2000-02-29 05:47:52 +00:00
parent 44b0af2592
commit 06f13592e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57582

View File

@ -50,6 +50,7 @@ SYMLINKS+= ${LSCRYPTBASE}.so ${SHLIBDIR}/${LCRYPTBASE}.so
.include <bsd.lib.mk>
afterinstall:
.if !defined(NODESCRYPTLINKS)
.if !defined(NOPIC)
@cd ${DESTDIR}${SHLIBDIR}; \
rm -f ${LCRYPTSO}; \
@ -68,3 +69,4 @@ afterinstall:
rm -f ${LCRYPTBASE}_p.a; \
ln -sf ${LSCRYPTBASE}_p.a libcrypt_p.a
.endif
.endif