ports/net/freebsd-telnetd/files/patch-libexec_telnetd_Makefile
Cy Schubert 44dadc459a net/freebsd-telnetd: Add net/freebsd-telnetd
This new port contains the legacy FreeBSD telnetd which will be removed
from FreeBSD-14.
2021-07-08 11:03:56 -07:00

20 lines
508 B
Text

--- libexec/telnetd/Makefile.orig 2020-12-29 13:05:48.000000000 -0800
+++ libexec/telnetd/Makefile 2021-07-08 10:59:49.657276000 -0700
@@ -5,7 +5,6 @@
.include <src.opts.mk>
-TELNETDIR= ${SRCTOP}/contrib/telnet
.PATH: ${TELNETDIR}/telnetd
PROG= telnetd
@@ -18,7 +17,8 @@
WFORMAT?= 0
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
- -DENV_HACK -DSTREAMSPTY
+ -DENV_HACK -DSTREAMSPTY \
+ -L${TELNETDIR}/../../lib/libtelnet
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6