aboutsummaryrefslogtreecommitdiff
path: root/lib/libwrap
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-04-15 20:45:52 +0000
committerSteve Price <steve@FreeBSD.org>2000-04-15 20:45:52 +0000
commit4f9bc6c6b7d90dd654e63603252db0ff04a0c666 (patch)
treeaa343e6dde891da59d2e6dcb82bb87d9bb04653e /lib/libwrap
parentaa50d936fdb6948625177331f984c4a09ac03b0c (diff)
downloadsrc-4f9bc6c6b7d90dd654e63603252db0ff04a0c666.tar.gz
src-4f9bc6c6b7d90dd654e63603252db0ff04a0c666.zip
Don't try to compile in INET6 support when NOINET6 is defined.
Notes
Notes: svn path=/head/; revision=59266
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 845096131a8a..4422cfaff6a3 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 \