aboutsummaryrefslogtreecommitdiff
path: root/libexec/telnetd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/telnetd/Makefile')
-rw-r--r--libexec/telnetd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile
index 75a33dbc88f2..fac8ec4829b3 100644
--- a/libexec/telnetd/Makefile
+++ b/libexec/telnetd/Makefile
@@ -5,7 +5,7 @@
.include <bsd.own.mk>
-TELNETDIR= ${.CURDIR}/../../contrib/telnet
+TELNETDIR= ${SRCTOP}/contrib/telnet
.PATH: ${TELNETDIR}/telnetd
PROG= telnetd
@@ -27,7 +27,7 @@ CFLAGS+= -DINET6
CFLAGS+= -I${TELNETDIR}
CFLAGS+= -I${TELNETDIR}/telnet
-LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
+LIBTELNET= ${OBJTOP}/lib/libtelnet/libtelnet.a
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
LDADD= -lutil -ltermcap ${LIBTELNET}