Don't try to compile in INET6 support when NOINET6 is defined.
This commit is contained in:
parent
12cd48ae48
commit
1feb59c27f
@ -30,7 +30,10 @@ LIB= ipsec
|
||||
SHLIB_MAJOR= 0
|
||||
SHLIB_MINOR= 0
|
||||
CFLAGS+=-I${.OBJDIR}
|
||||
CFLAGS+=-DIPSEC_DEBUG -DIPSEC -DINET6
|
||||
CFLAGS+=-DIPSEC_DEBUG -DIPSEC
|
||||
.if !defined(NOINET6)
|
||||
CFLAGS+=-DINET6
|
||||
.endif
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/netkey
|
||||
SRCS= pfkey.c pfkey_dump.c
|
||||
|
@ -11,7 +11,10 @@ CLEANFILES=tokdefs.h version.c
|
||||
|
||||
DEFS= -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 \
|
||||
-DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 \
|
||||
-DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1 -DINET6
|
||||
-DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1
|
||||
.if !defined(NOINET6)
|
||||
DEFS+= -DINET6
|
||||
.endif
|
||||
|
||||
CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS}
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user