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.
This commit is contained in:
Jacques Vidrine 2003-02-18 14:23:11 +00:00
parent 6d7bd75a4e
commit 419b10b514
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111083

View File

@ -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 <bsd.lib.mk>
.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES