summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-02-29 05:47:52 +0000
committerkris <kris@FreeBSD.org>2000-02-29 05:47:52 +0000
commitfb49122cc2cf5b40d683c7748f69cb155116be74 (patch)
treeb9070b353f6edf5adb370ad4c00b23a4ba894d1f /secure
parent5cd3c4952800980d08b3de405c910c8363b67bc2 (diff)
downloadFreeBSD-src-fb49122cc2cf5b40d683c7748f69cb155116be74.zip
FreeBSD-src-fb49122cc2cf5b40d683c7748f69cb155116be74.tar.gz
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
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/libcrypt/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile
index c525009..0721f55 100644
--- a/secure/lib/libcrypt/Makefile
+++ b/secure/lib/libcrypt/Makefile
@@ -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
OpenPOWER on IntegriCloud