summaryrefslogtreecommitdiffstats
path: root/usr.bin/logger
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/logger')
-rw-r--r--usr.bin/logger/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/logger/Makefile b/usr.bin/logger/Makefile
index 48c5251..922192c 100644
--- a/usr.bin/logger/Makefile
+++ b/usr.bin/logger/Makefile
@@ -1,7 +1,12 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= logger
-CFLAGS+=-DINET6
+
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DINET6
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud