aboutsummaryrefslogtreecommitdiff
path: root/sbin/hastctl
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2011-03-07 10:38:18 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2011-03-07 10:38:18 +0000
commit9e5bdc9d83ddda15006df1f8746813979d03a15b (patch)
treeeff79e52e39056b898c7ca3f57a73abe6ef739ca /sbin/hastctl
parenta61f5793948d6b3990c09eaad34c51dd4a0b3cf3 (diff)
downloadsrc-9e5bdc9d83ddda15006df1f8746813979d03a15b.tar.gz
src-9e5bdc9d83ddda15006df1f8746813979d03a15b.zip
- 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
Notes
Notes: svn path=/head/; revision=219370
Diffstat (limited to 'sbin/hastctl')
-rw-r--r--sbin/hastctl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/hastctl/Makefile b/sbin/hastctl/Makefile
index c266666672a6..06b2ca0eb75b 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