diff options
author | bapt <bapt@FreeBSD.org> | 2014-11-25 16:57:27 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-11-25 16:57:27 +0000 |
commit | a191ba5195ecb988c5e5c3b13fc364bde87bd41c (patch) | |
tree | 41890d809d5cd369a149d9fe8cd22b45310c700a /usr.sbin/tcpdump | |
parent | a755ca9f3133785c8638591a5f79e27878062707 (diff) | |
download | FreeBSD-src-a191ba5195ecb988c5e5c3b13fc364bde87bd41c.zip FreeBSD-src-a191ba5195ecb988c5e5c3b13fc364bde87bd41c.tar.gz |
Convert usr.sbin to LIBADD
Reduce overlinking
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r-- | usr.sbin/tcpdump/tcpdump/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile index fcaa13e..9e6a424 100644 --- a/usr.sbin/tcpdump/tcpdump/Makefile +++ b/usr.sbin/tcpdump/tcpdump/Makefile @@ -160,16 +160,13 @@ CFLAGS+= -DINET6 CFLAGS+= -DLBL_ALIGN .endif -DPADD= ${LIBL} ${LIBPCAP} -LDADD= -ll -lpcap +LIBADD= l pcap .if ${MK_CASPER} != "no" -DPADD+= ${LIBCAPSICUM} ${LIBNV} -LDADD+= -lcapsicum -lnv +LIBADD+= capsicum CFLAGS+=-DHAVE_LIBCAPSICUM .endif .if ${MK_OPENSSL} != "no" -DPADD+= ${LIBCRYPTO} -LDADD+= -lcrypto +LIBADD+= crypto CFLAGS+= -I${DESTDIR}/usr/include/openssl CFLAGS+= -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H .endif |