summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
committerbapt <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
commit8d6c7a49a6d934aea5c5f8462780dbfda3749520 (patch)
treeddfef911600b923ca0abdbed4461a288b9249837 /usr.bin/chpass
parentf28badddf72721ca05d713d86627fcde7866aaf9 (diff)
downloadFreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.zip
FreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.tar.gz
Convert to usr.bin/ to LIBADD
Reduce overlinking
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index cf3acc6..9b3e878 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/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
OpenPOWER on IntegriCloud