diff options
author | yar <yar@FreeBSD.org> | 2006-07-27 14:52:12 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-07-27 14:52:12 +0000 |
commit | ead31935860e753d9163a4e044137c2dd3e0123b (patch) | |
tree | c45142799df2a8321ff8c2eba470a4722c0a75da | |
parent | 1ecaa827fdda9ced06ba5529dd805324a29f52fb (diff) | |
download | FreeBSD-src-ead31935860e753d9163a4e044137c2dd3e0123b.zip FreeBSD-src-ead31935860e753d9163a4e044137c2dd3e0123b.tar.gz |
Obey MK_INET6_SUPPORT.
-rw-r--r-- | usr.sbin/inetd/Makefile | 8 | ||||
-rw-r--r-- | usr.sbin/lpr/Makefile.inc | 4 | ||||
-rw-r--r-- | usr.sbin/syslogd/Makefile | 9 | ||||
-rw-r--r-- | usr.sbin/trpt/Makefile | 5 |
4 files changed, 24 insertions, 2 deletions
diff --git a/usr.sbin/inetd/Makefile b/usr.sbin/inetd/Makefile index afe4c51..2939871 100644 --- a/usr.sbin/inetd/Makefile +++ b/usr.sbin/inetd/Makefile @@ -1,6 +1,8 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +.include <bsd.own.mk> + PROG= inetd MAN= inetd.8 MLINKS= inetd.8 inetd.conf.5 @@ -10,11 +12,15 @@ WARNS?= 2 CFLAGS+= -DLOGIN_CAP #CFLAGS+= -DSANITY_CHECK +.if ${MK_INET6_SUPPORT} != "no" +CFLAGS+= -DINET6 +.endif + DPADD= ${LIBUTIL} ${LIBWRAP} LDADD= -lutil -lwrap .if !defined(RELEASE_CRUNCH) -CFLAGS+= -DINET6 -DIPSEC +CFLAGS+= -DIPSEC DPADD+= ${LIBIPSEC} LDADD+= -lipsec .endif diff --git a/usr.sbin/lpr/Makefile.inc b/usr.sbin/lpr/Makefile.inc index 1854882..ab667dd 100644 --- a/usr.sbin/lpr/Makefile.inc +++ b/usr.sbin/lpr/Makefile.inc @@ -1,6 +1,10 @@ # $FreeBSD$ +.include <bsd.own.mk> + +.if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 +.endif LIBLPR= ${.OBJDIR}/../common_source/liblpr.a 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> diff --git a/usr.sbin/trpt/Makefile b/usr.sbin/trpt/Makefile index cf1680b..5c62ce0 100644 --- a/usr.sbin/trpt/Makefile +++ b/usr.sbin/trpt/Makefile @@ -1,12 +1,17 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +.include <bsd.own.mk> + PROG= trpt MAN= trpt.8 BINGRP= kmem BINMODE= 2555 WARNS?= 4 + +.if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 +.endif .include <bsd.prog.mk> |