Date: Tue, 5 Aug 2014 10:48:53 +0000 (UTC) From: Bjoern A. Zeeb <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269581 - head/sys/modules/if_gif Message-ID: <53e0b695.5bf3.27b1f078@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e0b695.5bf3.27b1f078>