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.
This commit is contained in:
Bruce Evans 1999-09-13 16:38:58 +00:00
parent 20d39afec3
commit 84a65bd944
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51236
2 changed files with 8 additions and 14 deletions

View file

@ -13,15 +13,12 @@ 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).
# 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.
#
beforeinstall:
rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
.include <bsd.lib.mk>

View file

@ -13,15 +13,12 @@ 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).
# 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.
#
beforeinstall:
rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
.include <bsd.lib.mk>