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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"