diff options
author | nectar <nectar@FreeBSD.org> | 2003-02-18 14:23:11 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-02-18 14:23:11 +0000 |
commit | f671b30fa662d1095ae70654346e2fdca899e88d (patch) | |
tree | bf50e971a93d6edd82348a52498e3b3ba78eec41 /secure/lib/libcrypto | |
parent | e369901c4d167440aa02ef1987950bb77fba23c1 (diff) | |
download | FreeBSD-src-f671b30fa662d1095ae70654346e2fdca899e88d.zip FreeBSD-src-f671b30fa662d1095ae70654346e2fdca899e88d.tar.gz |
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.
Diffstat (limited to 'secure/lib/libcrypto')
-rw-r--r-- | secure/lib/libcrypto/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile index 702270e..84fb089 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 <bsd.lib.mk> .if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES |