summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-06-27 09:15:41 +0000
committerpjd <pjd@FreeBSD.org>2011-06-27 09:15:41 +0000
commitbfdf57abb6fca38cfaa291a8949cf125eb2912f2 (patch)
tree317528a2f8ef202855daca2f0f027d0ebe9c2f6e /sbin
parentfaa028ceabd36900890c02260e8f7e780a235a31 (diff)
downloadFreeBSD-src-bfdf57abb6fca38cfaa291a8949cf125eb2912f2.zip
FreeBSD-src-bfdf57abb6fca38cfaa291a8949cf125eb2912f2.tar.gz
Compile hastd and hastctl with capsicum support.
X-MFC after: capsicum merge
Diffstat (limited to 'sbin')
-rw-r--r--sbin/hastctl/Makefile1
-rw-r--r--sbin/hastd/Makefile3
2 files changed, 3 insertions, 1 deletions
diff --git a/sbin/hastctl/Makefile b/sbin/hastctl/Makefile
index b7b1db9..af946a2 100644
--- a/sbin/hastctl/Makefile
+++ b/sbin/hastctl/Makefile
@@ -21,6 +21,7 @@ MAN= hastctl.8
NO_WFORMAT=
CFLAGS+=-I${.CURDIR}/../hastd
+CFLAGS+=-DHAVE_CAPSICUM
CFLAGS+=-DINET
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
diff --git a/sbin/hastd/Makefile b/sbin/hastd/Makefile
index 1ffd0a2..3c4eef1 100644
--- a/sbin/hastd/Makefile
+++ b/sbin/hastd/Makefile
@@ -20,8 +20,9 @@ SRCS+= y.tab.h
MAN= hastd.8 hast.conf.5
NO_WFORMAT=
-CFLAGS+=-DPROTO_TCP_DEFAULT_PORT=8457
CFLAGS+=-I${.CURDIR}
+CFLAGS+=-DHAVE_CAPSICUM
+CFLAGS+=-DPROTO_TCP_DEFAULT_PORT=8457
CFLAGS+=-DINET
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
OpenPOWER on IntegriCloud