diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-09-29 13:17:54 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-09-29 13:17:54 +0000 |
| commit | 4448c79e472c7d23f859eb5a959c2d4e31d7cfca (patch) | |
| tree | 8117c933d52263b2b6158bc073d28d25695c829d /secure | |
| parent | 8c65132c763335200d27314504bac14e0b463625 (diff) | |
Notes
Diffstat (limited to 'secure')
| -rw-r--r-- | secure/lib/libtelnet/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/secure/lib/libtelnet/Makefile b/secure/lib/libtelnet/Makefile index daf1e8123164..c229e6b327f9 100644 --- a/secure/lib/libtelnet/Makefile +++ b/secure/lib/libtelnet/Makefile @@ -15,14 +15,18 @@ CFLAGS+= -DHAS_CGETENT -DENCRYPTION -DDES_ENCRYPTION -DAUTHENTICATION \ INCS= ${TELNETDIR}/arpa/telnet.h INCDIR= /usr/include/arpa +.include <bsd.lib.mk> + +.PATH: ${TELNETDIR}/libtelnet + # # 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: +beforeinstall: __remove-stale-libs +__remove-stale-libs: .PHONY +.if exists(${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0) + -chflags noschg ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0 rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0 - -.include <bsd.lib.mk> - -.PATH: ${TELNETDIR}/libtelnet +.endif |
