diff options
author | pjd <pjd@FreeBSD.org> | 2011-03-07 10:38:18 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-03-07 10:38:18 +0000 |
commit | 76c47e936ba76108f5c9de55dc5c108264be0a3e (patch) | |
tree | eff79e52e39056b898c7ca3f57a73abe6ef739ca /sbin/hastctl | |
parent | c22d549a366f24694675b1e30c79ba1beea2ae36 (diff) | |
download | FreeBSD-src-76c47e936ba76108f5c9de55dc5c108264be0a3e.zip FreeBSD-src-76c47e936ba76108f5c9de55dc5c108264be0a3e.tar.gz |
- Turn on printf extentions.
- Load support for %T for pritning time.
- Add support for %N for printing number in human readable form.
- Add support for %S for printing sockaddr structure (currently only AF_INET
family is supported, as this is all we need in HAST).
- Disable gcc compile-time format checking as this will no longer work.
MFC after: 2 weeks
Diffstat (limited to 'sbin/hastctl')
-rw-r--r-- | sbin/hastctl/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/hastctl/Makefile b/sbin/hastctl/Makefile index c266666..06b2ca0 100644 --- a/sbin/hastctl/Makefile +++ b/sbin/hastctl/Makefile @@ -19,6 +19,7 @@ SRCS+= subr.c SRCS+= y.tab.h MAN= hastctl.8 +NO_WFORMAT= CFLAGS+=-I${.CURDIR}/../hastd CFLAGS+=-DINET .if ${MK_INET6_SUPPORT} != "no" @@ -28,8 +29,8 @@ CFLAGS+=-DINET6 CFLAGS+=-DYY_NO_UNPUT CFLAGS+=-DYY_NO_INPUT -DPADD= ${LIBL} -LDADD= -ll +DPADD= ${LIBL} ${LIBUTIL} +LDADD= -ll -lutil .if ${MK_OPENSSL} != "no" DPADD+= ${LIBCRYPTO} LDADD+= -lcrypto |