summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorcsgr <csgr@FreeBSD.org>1994-08-20 21:19:46 +0000
committercsgr <csgr@FreeBSD.org>1994-08-20 21:19:46 +0000
commitbb1890fe44fa9e4bbd2bb339ae460997d8dcedd4 (patch)
treef3b6fc6dafc1125389de39f6a07c1be5a594692b /libexec
parentee89c5a36579258324425530afd44e5dedad8847 (diff)
downloadFreeBSD-src-bb1890fe44fa9e4bbd2bb339ae460997d8dcedd4.zip
FreeBSD-src-bb1890fe44fa9e4bbd2bb339ae460997d8dcedd4.tar.gz
LDADD= -lcrypt
Submitted by: Geoff
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/Makefile1
-rw-r--r--libexec/makekey/Makefile2
-rw-r--r--libexec/rexecd/Makefile3
3 files changed, 4 insertions, 2 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index 0a067be..22c826f 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -3,6 +3,7 @@
PROG= ftpd
CFLAGS+=-DSETPROCTITLE
SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c
+LDADD= -lcrypt
MAN8= ftpd.8
CLEANFILES+=ftpcmd.c y.tab.h
diff --git a/libexec/makekey/Makefile b/libexec/makekey/Makefile
index 5f61f4f..dd07112 100644
--- a/libexec/makekey/Makefile
+++ b/libexec/makekey/Makefile
@@ -3,9 +3,7 @@
PROG= makekey
MAN8= makekey.8
-.if exists(/usr/lib/libcrypt.a)
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
-.endif
.include <bsd.prog.mk>
diff --git a/libexec/rexecd/Makefile b/libexec/rexecd/Makefile
index b12d228..0b225ba 100644
--- a/libexec/rexecd/Makefile
+++ b/libexec/rexecd/Makefile
@@ -2,5 +2,8 @@
PROG= rexecd
MAN8= rexecd.8
+LDADD= -lcrypt
+DPADD= ${LIBCRYPT}
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud