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.
This commit is contained in:
parent
5ebe728d53
commit
90f11f258d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269581
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user