summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2014-12-26 00:01:00 +0000
committerbz <bz@FreeBSD.org>2014-12-26 00:01:00 +0000
commited5848aa18e43dd8e95bc8aef79a8a9b97c1ebcf (patch)
tree5787456c5e6a58bff8d2f11034f30d58bdc7860b
parent48180550054b5407841860372f50c889ed94e12f (diff)
downloadFreeBSD-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/Makefile6
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
OpenPOWER on IntegriCloud