From 06f13592e1159eddacf4ed78d8ea929f551c172a Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Tue, 29 Feb 2000 05:47:52 +0000 Subject: [PATCH] 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 --- secure/lib/libcrypt/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile index c525009e0d0f..0721f5548cd1 100644 --- a/secure/lib/libcrypt/Makefile +++ b/secure/lib/libcrypt/Makefile @@ -50,6 +50,7 @@ SYMLINKS+= ${LSCRYPTBASE}.so ${SHLIBDIR}/${LCRYPTBASE}.so .include 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