aboutsummaryrefslogtreecommitdiff
path: root/libexec/makekey/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/makekey/Makefile')
-rw-r--r--libexec/makekey/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/makekey/Makefile b/libexec/makekey/Makefile
index f5a37311f148..5f61f4f9cb43 100644
--- a/libexec/makekey/Makefile
+++ b/libexec/makekey/Makefile
@@ -3,4 +3,9 @@
PROG= makekey
MAN8= makekey.8
+.if exists(/usr/lib/libcrypt.a)
+DPADD+= ${LIBCRYPT}
+LDADD+= -lcrypt
+.endif
+
.include <bsd.prog.mk>