summaryrefslogtreecommitdiffstats
path: root/sbin/hastctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/hastctl/Makefile')
-rw-r--r--sbin/hastctl/Makefile5
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
OpenPOWER on IntegriCloud