summaryrefslogtreecommitdiffstats
path: root/lib/libpcap
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/libpcap
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/libpcap')
-rw-r--r--lib/libpcap/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index ae4c9ca..ab0eeac 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -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}
OpenPOWER on IntegriCloud