summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2014-08-05 10:48:53 +0000
committerbz <bz@FreeBSD.org>2014-08-05 10:48:53 +0000
commit3ac98abb89673d3272cb4ae85f2e2dac94d5b3ca (patch)
treed0488df05696e25b060a0b9322801f47abce6b58
parentb86acea372543107bfcfb54ced21df5c7326724e (diff)
downloadFreeBSD-src-3ac98abb89673d3272cb4ae85f2e2dac94d5b3ca.zip
FreeBSD-src-3ac98abb89673d3272cb4ae85f2e2dac94d5b3ca.tar.gz
Revert the logic change from r269540. If the opt_inet6.h file is empty
we set MK_INET6_SUPPORT to no, not if we do define INET6. This way we do not try to build IPv6 parts in if the kernel doesn't support them. This unbreaks several kernel configurations building modules but no INET6.
-rw-r--r--sys/modules/if_gif/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile
index d9ad004..6702de5 100644
--- a/sys/modules/if_gif/Makefile
+++ b/sys/modules/if_gif/Makefile
@@ -9,7 +9,7 @@ SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mrouting.h
.if defined(KERNBUILDDIR)
OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h
-.if !empty(OPT_INET6)
+.if empty(OPT_INET6)
MK_INET6_SUPPORT=no
.endif
.endif
OpenPOWER on IntegriCloud