]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Convert to usr.bin/ to LIBADD
authorBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 25 Nov 2014 14:29:10 +0000 (14:29 +0000)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 25 Nov 2014 14:29:10 +0000 (14:29 +0000)
Reduce overlinking

chpass/Makefile

index cf3acc6bee158f91dbb4cb5581e4216b1b622e99..9b3e878d8656ad8815492e5b1871ad5d3218a245 100644 (file)
@@ -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