summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/makekey/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/makekey/Makefile b/libexec/makekey/Makefile
index f5a3731..5f61f4f 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>
OpenPOWER on IntegriCloud