svn commit: r269581 - head/sys/modules/if_gif
Bjoern A. Zeeb
bz at FreeBSD.org
Tue Aug 5 10:48:54 UTC 2014
Author: bz
Date: Tue Aug 5 10:48:53 2014
New Revision: 269581
URL: http://svnweb.freebsd.org/changeset/base/269581
Log:
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.
Modified:
head/sys/modules/if_gif/Makefile
Modified: head/sys/modules/if_gif/Makefile
==============================================================================
--- head/sys/modules/if_gif/Makefile Tue Aug 5 10:29:01 2014 (r269580)
+++ head/sys/modules/if_gif/Makefile Tue Aug 5 10:48:53 2014 (r269581)
@@ -9,7 +9,7 @@ SRCS= if_gif.c in_gif.c opt_inet.h opt_i
.if defined(KERNBUILDDIR)
OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h
-.if !empty(OPT_INET6)
+.if empty(OPT_INET6)
MK_INET6_SUPPORT=no
.endif
.endif
More information about the svn-src-head
mailing list