summaryrefslogtreecommitdiffstats
path: root/lib/libtelnet
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1998-08-30 13:07:16 +0000
committermarkm <markm@FreeBSD.org>1998-08-30 13:07:16 +0000
commitee1b8f0d9c36f7ce15d3cafce65c1196608ac38f (patch)
treef5810c43d55ab5fa392ae0c9651d404633b5577c /lib/libtelnet
parent03ff6bb24a5ba35015637ac2a2460f373ef175d7 (diff)
downloadFreeBSD-src-ee1b8f0d9c36f7ce15d3cafce65c1196608ac38f.zip
FreeBSD-src-ee1b8f0d9c36f7ce15d3cafce65c1196608ac38f.tar.gz
While I am no longer making a shared library, it is a good plan to nuke
the old ones to prevent ld picking it up spuriously.
Diffstat (limited to 'lib/libtelnet')
-rw-r--r--lib/libtelnet/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile
index bdeb3d2..fa32e67 100644
--- a/lib/libtelnet/Makefile
+++ b/lib/libtelnet/Makefile
@@ -6,5 +6,16 @@ SRCS= genget.c getent.c misc.c
CFLAGS+= -DHAS_CGETENT
NOPIC= true
+#
+# 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>
OpenPOWER on IntegriCloud