aboutsummaryrefslogtreecommitdiff
path: root/secure
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-28 12:15:22 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-28 12:15:22 +0000
commit47f3c9a74675c97afed667a8b837116a51dc0be0 (patch)
treea1befbb3726656b56a2b25f686354f4b02b08a98 /secure
parent4ecbb303465d9a56a783068c2bcd2cf6255b6d4f (diff)
downloadsrc-47f3c9a74675c97afed667a8b837116a51dc0be0.tar.gz
src-47f3c9a74675c97afed667a8b837116a51dc0be0.zip
Merged src/lib/libtelnet rev.1.9 (fixed removing of obsolete shared
library: wrong library directory, wrong library extension and wrong comment). This is mainly of historical interest, if any. The library that gets removed is aout. Also, backout the beforeinstall -> afterinstall change in rev.1.20 that was required to install proper telnet.h into /usr/include/arpa. The actual problem is in <bsd.lib.mk>, and I am going to fix it.
Notes
Notes: svn path=/head/; revision=74929
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/libtelnet/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/secure/lib/libtelnet/Makefile b/secure/lib/libtelnet/Makefile
index 10760d51b871..4ed638a73151 100644
--- a/secure/lib/libtelnet/Makefile
+++ b/secure/lib/libtelnet/Makefile
@@ -16,15 +16,12 @@ INCS= ${TELNETDIR}/arpa/telnet.h
INCDIR= /usr/include/arpa
#
-# Before complaining about this, please *double-check* that you have
-# updated the ldconfig path in /etc/rc to include /usr/lib/compat that
-# was added in src/etc/rc rev 1.98.
-# This is so that `ld' will not continue to generate binaries linked
-# shared against libtelnet, so that in a future release we can move this
-# off to a compat dist (like compat22).
+# Remove obsolete shared libraries, if any. We don't bother moving them
+# to /usr/lib/compat, since they were only used by telnet, telnetd and
+# tn3270.
#
-afterinstall:
- rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
+beforeinstall:
+ rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
.include <bsd.lib.mk>