diff options
author | bz <bz@FreeBSD.org> | 2014-12-26 00:01:00 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2014-12-26 00:01:00 +0000 |
commit | ed5848aa18e43dd8e95bc8aef79a8a9b97c1ebcf (patch) | |
tree | 5787456c5e6a58bff8d2f11034f30d58bdc7860b | |
parent | 48180550054b5407841860372f50c889ed94e12f (diff) | |
download | FreeBSD-src-ed5848aa18e43dd8e95bc8aef79a8a9b97c1ebcf.zip FreeBSD-src-ed5848aa18e43dd8e95bc8aef79a8a9b97c1ebcf.tar.gz |
Let's see if we can fix the NOINET if_gif(4) module build after r276215
going by example.
-rw-r--r-- | sys/modules/if_gif/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile index 663c679..3b3a172 100644 --- a/sys/modules/if_gif/Makefile +++ b/sys/modules/if_gif/Makefile @@ -6,7 +6,11 @@ SYSDIR?=${.CURDIR}/../.. .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 |