summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-03-28 12:08:22 +0000
committerru <ru@FreeBSD.org>2001-03-28 12:08:22 +0000
commit98c6ecb383b916a560f33c7ea2a31eef6a9a408e (patch)
treee2334cdc0acdb67f74fc23b4d48794daac1dfb9b /usr.bin/telnet
parent79cf991a6bd845fad54bd6a15892cb5aaf74b223 (diff)
downloadFreeBSD-src-98c6ecb383b916a560f33c7ea2a31eef6a9a408e.zip
FreeBSD-src-98c6ecb383b916a560f33c7ea2a31eef6a9a408e.tar.gz
Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.
Approved by: markm
Diffstat (limited to 'usr.bin/telnet')
-rw-r--r--usr.bin/telnet/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile
index 7ff18c8..0458220 100644
--- a/usr.bin/telnet/Makefile
+++ b/usr.bin/telnet/Makefile
@@ -41,8 +41,14 @@ CFLAGS+=-DENV_HACK
CFLAGS+=-DSKEY
CFLAGS+=-I${.CURDIR}/../../lib
+.if exists(${.OBJDIR}/../../lib/libtelnet)
+LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
+.else
+LIBTELNET= ${.CURDIR}/../../lib/libtelnet/libtelnet.a
+.endif
+
DPADD= ${LIBTERMCAP} ${LIBTELNET}
-LDADD= -ltermcap -ltelnet
+LDADD= -ltermcap ${LIBTELNET}
.if !defined(RELEASE_CRUNCH)
CFLAGS+=-DINET6
OpenPOWER on IntegriCloud