summaryrefslogtreecommitdiffstats
path: root/chpass/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
commitf3f1481c2b79a9f8747738acd08571ab4c50eb3a (patch)
treec53ce6ec7a67c8ed74107726776049bf688f7858 /chpass/Makefile
parent26a64428b0aaec32f653b6fb9955c7f132b7737e (diff)
downloadpw-darwin-f3f1481c2b79a9f8747738acd08571ab4c50eb3a.tar.gz
pw-darwin-f3f1481c2b79a9f8747738acd08571ab4c50eb3a.tar.zst
pw-darwin-f3f1481c2b79a9f8747738acd08571ab4c50eb3a.zip
Convert to usr.bin/ to LIBADD
Reduce overlinking
Diffstat (limited to 'chpass/Makefile')
-rw-r--r--chpass/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/chpass/Makefile b/chpass/Makefile
index cf3acc6..9b3e878 100644
--- a/chpass/Makefile
+++ b/chpass/Makefile
@@ -16,11 +16,9 @@ CFLAGS+= -DYP
#CFLAGS+=-DRESTRICT_FULLNAME_CHANGE
CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../lib/libc/gen -I.
-DPADD= ${LIBCRYPT} ${LIBUTIL}
-LDADD= -lcrypt -lutil
+LIBADD= crypt util
.if ${MK_NIS} != "no"
-DPADD+= ${LIBYPCLNT}
-LDADD+= -lypclnt
+LIBADD+= ypclnt
.endif
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn