summaryrefslogtreecommitdiffstats
path: root/lib/libwrap
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-04-15 20:45:52 +0000
committersteve <steve@FreeBSD.org>2000-04-15 20:45:52 +0000
commit1feb59c27fd5e7f3ff43beac7f3a64e2c853f292 (patch)
tree6da93efa380f7d0b5507c2031824822a76a5e80a /lib/libwrap
parent12cd48ae48396a66dd832a6583ea560d13af299b (diff)
downloadFreeBSD-src-1feb59c27fd5e7f3ff43beac7f3a64e2c853f292.zip
FreeBSD-src-1feb59c27fd5e7f3ff43beac7f3a64e2c853f292.tar.gz
Don't try to compile in INET6 support when NOINET6 is defined.
Diffstat (limited to 'lib/libwrap')
-rw-r--r--lib/libwrap/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libwrap/Makefile b/lib/libwrap/Makefile
index 8450961..4422cfa 100644
--- a/lib/libwrap/Makefile
+++ b/lib/libwrap/Makefile
@@ -17,7 +17,10 @@ CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
-DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME
-CFLAGS+=-DINET6 -DUSE_GETIPNODEBY
+CFLAGS+=-DUSE_GETIPNODEBY
+.if !defined(NOINET6)
+CFLAGS+=-DINET6
+.endif
SRCS= clean_exit.c diag.c eval.c fix_options.c fromhost.c \
hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \
OpenPOWER on IntegriCloud