From f3f1481c2b79a9f8747738acd08571ab4c50eb3a Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 25 Nov 2014 14:29:10 +0000 Subject: Convert to usr.bin/ to LIBADD Reduce overlinking --- chpass/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'chpass/Makefile') 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 -- cgit v1.2.3-56-ge451