aboutsummaryrefslogtreecommitdiffstats
path: root/libexec/rexecd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rexecd/Makefile')
-rw-r--r--libexec/rexecd/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libexec/rexecd/Makefile b/libexec/rexecd/Makefile
index 093e9a6444f7..5916212ae5de 100644
--- a/libexec/rexecd/Makefile
+++ b/libexec/rexecd/Makefile
@@ -2,6 +2,12 @@
PROG= rexecd
MAN8= rexecd.8
+CFLAGS+= -DSKEY
+
+.PATH: ${.CURDIR}/../../usr.bin/key
+
+DPADD+= /usr/lib/libskey.a
+LDADD+= -lskey
.if exists(/usr/lib/libcrypt.a)
DPADD+= ${LIBCRYPT}