From 419b10b514236641c29081439a46cbcce974e17d Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Tue, 18 Feb 2003 14:23:11 +0000 Subject: [PATCH] Previously, libcrypto contained symbols that were identical to EAY libdes, and functionally close enough so that we created symlinks (libdes -> libcrypto) to help older applications. With the import of OpenSSL 0.9.7, this is no longer true and we no longer install these symlinks. However, systems that are upgraded may have these symlinks, which could cause non-obvious breakage at build-time. Therefore, blow any old symlinks away in the `afterinstall' target. --- secure/lib/libcrypto/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile index 702270ed3468..84fb0890d5a6 100644 --- a/secure/lib/libcrypto/Makefile +++ b/secure/lib/libcrypto/Makefile @@ -203,6 +203,13 @@ SRCS+= v3_akey.c v3_akeya.c v3_alt.c v3_bcons.c v3_bitst.c \ INCS= ${HDRS} openssl/evp.h openssl/opensslconf.h INCSDIR= ${INCLUDEDIR}/openssl +OLDSYMLINKS+= libdes.a libdes.so libdes.so.3 libdes_p.a +afterinstall: + @echo "Removing stale symlinks." +.for symlink in ${OLDSYMLINKS} + rm -f ${LIBDIR}/${symlink} +.endfor + .include .if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES