diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-11-25 16:57:27 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-11-25 16:57:27 +0000 |
commit | c6db8143eda5c775467145ac73e8ebec47afdd8f (patch) | |
tree | 41890d809d5cd369a149d9fe8cd22b45310c700a /usr.sbin/ngctl | |
parent | c97038fa5a6b253c5f2eb3d09a7a529f8ae86220 (diff) | |
download | src-c6db8143eda5c775467145ac73e8ebec47afdd8f.tar.gz src-c6db8143eda5c775467145ac73e8ebec47afdd8f.zip |
Convert usr.sbin to LIBADD
Reduce overlinking
Notes
Notes:
svn path=/head/; revision=275054
Diffstat (limited to 'usr.sbin/ngctl')
-rw-r--r-- | usr.sbin/ngctl/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile index cf72f39a6644..71b5d2b9dfaf 100644 --- a/usr.sbin/ngctl/Makefile +++ b/usr.sbin/ngctl/Makefile @@ -17,13 +17,11 @@ NGCTL_NO_LIBEDIT= NGCTL_NO_LIBEDIT= .endif -DPADD= ${LIBNETGRAPH} -LDADD= -lnetgraph +LIBADD= netgraph .if !defined(NGCTL_NO_LIBEDIT) CFLAGS+= -DEDITLINE -DPADD+= ${LIBPTHREAD} ${LIBEDIT} ${LIBTERMCAPW} -LDADD+= -lpthread -ledit -ltermcapw +LIBADD+= edit pthread .endif .include <bsd.prog.mk> |