From owner-svn-src-all@FreeBSD.ORG Tue Aug 5 10:48:53 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF545488 for ; Tue, 5 Aug 2014 10:48:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0BF124CD for ; Tue, 5 Aug 2014 10:48:53 +0000 (UTC) Received: from bz (uid 1027) (envelope-from bz@FreeBSD.org) id 5bf3 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Tue, 05 Aug 2014 10:48:53 +0000 From: Bjoern A. Zeeb Date: Tue, 5 Aug 2014 10:48:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269581 - head/sys/modules/if_gif X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e0b695.5bf3.27b1f078@svn.freebsd.org> X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 10:48:54 -0000 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