Index: head/sys/modules/if_gif/Makefile =================================================================== --- head/sys/modules/if_gif/Makefile (revision 276223) +++ head/sys/modules/if_gif/Makefile (revision 276224) @@ -1,15 +1,19 @@ # $FreeBSD$ SYSDIR?=${.CURDIR}/../.. .include "${SYSDIR}/conf/kern.opts.mk" .PATH: ${SYSDIR}/net ${SYSDIR}/netinet ${SYSDIR}/netinet6 KMOD= if_gif -SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h +SRCS= if_gif.c opt_inet.h opt_inet6.h + +.if ${MK_INET_SUPPORT} != "no" +SRCS+= in_gif.c +.endif .if ${MK_INET6_SUPPORT} != "no" SRCS+= in6_gif.c .endif .include