summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-02-18 14:23:11 +0000
committernectar <nectar@FreeBSD.org>2003-02-18 14:23:11 +0000
commitf671b30fa662d1095ae70654346e2fdca899e88d (patch)
treebf50e971a93d6edd82348a52498e3b3ba78eec41 /secure/lib/libcrypto
parente369901c4d167440aa02ef1987950bb77fba23c1 (diff)
downloadFreeBSD-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/Makefile7
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
OpenPOWER on IntegriCloud