summaryrefslogtreecommitdiffstats
path: root/chpass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chpass/Makefile')
-rw-r--r--chpass/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/chpass/Makefile b/chpass/Makefile
index 9b3e878..cf3acc6 100644
--- a/chpass/Makefile
+++ b/chpass/Makefile
@@ -16,9 +16,11 @@ CFLAGS+= -DYP
#CFLAGS+=-DRESTRICT_FULLNAME_CHANGE
CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../lib/libc/gen -I.
-LIBADD= crypt util
+DPADD= ${LIBCRYPT} ${LIBUTIL}
+LDADD= -lcrypt -lutil
.if ${MK_NIS} != "no"
-LIBADD+= ypclnt
+DPADD+= ${LIBYPCLNT}
+LDADD+= -lypclnt
.endif
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn