summaryrefslogtreecommitdiffstats
path: root/kerberosIV
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1998-08-30 13:08:54 +0000
committermarkm <markm@FreeBSD.org>1998-08-30 13:08:54 +0000
commit424a005468a9309b19173b3704ec5dc7194930ad (patch)
tree72e0fe48004290d06a581cdcb5612cc34dc0efa9 /kerberosIV
parentee1b8f0d9c36f7ce15d3cafce65c1196608ac38f (diff)
downloadFreeBSD-src-424a005468a9309b19173b3704ec5dc7194930ad.zip
FreeBSD-src-424a005468a9309b19173b3704ec5dc7194930ad.tar.gz
While I am no longer making a shared library, nuke the old one to prevent
ld from picking it up spuriously.
Diffstat (limited to 'kerberosIV')
-rw-r--r--kerberosIV/lib/libtelnet/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/kerberosIV/lib/libtelnet/Makefile b/kerberosIV/lib/libtelnet/Makefile
index 2913809..1789d4c 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
OpenPOWER on IntegriCloud