summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-07-27 14:52:12 +0000
committeryar <yar@FreeBSD.org>2006-07-27 14:52:12 +0000
commitead31935860e753d9163a4e044137c2dd3e0123b (patch)
treec45142799df2a8321ff8c2eba470a4722c0a75da /usr.sbin/syslogd
parent1ecaa827fdda9ced06ba5529dd805324a29f52fb (diff)
downloadFreeBSD-src-ead31935860e753d9163a4e044137c2dd3e0123b.zip
FreeBSD-src-ead31935860e753d9163a4e044137c2dd3e0123b.tar.gz
Obey MK_INET6_SUPPORT.
Diffstat (limited to 'usr.sbin/syslogd')
-rw-r--r--usr.sbin/syslogd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/syslogd/Makefile b/usr.sbin/syslogd/Makefile
index 028fda5..96d85c2 100644
--- a/usr.sbin/syslogd/Makefile
+++ b/usr.sbin/syslogd/Makefile
@@ -1,6 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../usr.bin/wall
PROG= syslogd
@@ -11,6 +13,11 @@ DPADD= ${LIBUTIL}
LDADD= -lutil
WARNS?= 1
-CFLAGS+=-DINET6 -I${.CURDIR}/../../usr.bin/wall
+
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DINET6
+.endif
+
+CFLAGS+= -I${.CURDIR}/../../usr.bin/wall
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud