summaryrefslogtreecommitdiffstats
path: root/usr.bin/su/Makefile
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/su/Makefile
parentf28badddf72721ca05d713d86627fcde7866aaf9 (diff)
downloadFreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.zip
FreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.tar.gz
Convert to usr.bin/ to LIBADD
Reduce overlinking
Diffstat (limited to 'usr.bin/su/Makefile')
-rw-r--r--usr.bin/su/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile
index d5eb805..178e670 100644
--- a/usr.bin/su/Makefile
+++ b/usr.bin/su/Makefile
@@ -7,13 +7,11 @@ PROG= su
WARNS?= 5
-DPADD= ${LIBUTIL} ${LIBPAM}
-LDADD= -lutil ${MINUSLPAM}
+LIBADD= util pam
.if ${MK_AUDIT} != "no"
CFLAGS+= -DUSE_BSM_AUDIT
-DPADD+= ${LIBBSM}
-LDADD+= -lbsm
+LIBADD+= bsm
.endif
BINOWN= root
OpenPOWER on IntegriCloud