aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1998-08-30 13:08:54 +0000
committerMark Murray <markm@FreeBSD.org>1998-08-30 13:08:54 +0000
commite6d0d4a4c4ee382f31a69e1475476028dab50a10 (patch)
tree5a30183c1201ab29f7baa3e632beb9f34a6dc599
parent0be70b48dd0a387df21f0982bbb4eef15ab55972 (diff)
downloadsrc-e6d0d4a4c4ee382f31a69e1475476028dab50a10.tar.gz
src-e6d0d4a4c4ee382f31a69e1475476028dab50a10.zip
While I am no longer making a shared library, nuke the old one to prevent
ld from picking it up spuriously.
Notes
Notes: svn path=/head/; revision=38642
-rw-r--r--kerberos5/lib/libtelnet/Makefile11
-rw-r--r--kerberosIV/lib/libtelnet/Makefile11
2 files changed, 22 insertions, 0 deletions
diff --git a/kerberos5/lib/libtelnet/Makefile b/kerberos5/lib/libtelnet/Makefile
index 2913809015c8..1789d4ceb199 100644
--- a/kerberos5/lib/libtelnet/Makefile
+++ b/kerberos5/lib/libtelnet/Makefile
@@ -12,6 +12,17 @@ NOPIC= yes
INCLUDES= ${TELNETDIR}/arpa/telnet.h
+#
+# 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).
+#
+beforeinstall:
+ rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
+
.include <bsd.lib.mk>
.PATH: ${TELNETDIR}/libtelnet
diff --git a/kerberosIV/lib/libtelnet/Makefile b/kerberosIV/lib/libtelnet/Makefile
index 2913809015c8..1789d4ceb199 100644
--- a/kerberosIV/lib/libtelnet/Makefile
+++ b/kerberosIV/lib/libtelnet/Makefile
@@ -12,6 +12,17 @@ NOPIC= yes
INCLUDES= ${TELNETDIR}/arpa/telnet.h
+#
+# 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).
+#
+beforeinstall:
+ rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
+
.include <bsd.lib.mk>
.PATH: ${TELNETDIR}/libtelnet