svn commit: r281407 - head/tools/regression/sockets/so_setfib
Garrett Cooper
ngie at FreeBSD.org
Sat Apr 11 06:38:51 UTC 2015
Author: ngie
Date: Sat Apr 11 06:38:50 2015
New Revision: 281407
URL: https://svnweb.freebsd.org/changeset/base/281407
Log:
Fix the knob twiddling to work properly per src.opts.mk
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/tools/regression/sockets/so_setfib/Makefile
Modified: head/tools/regression/sockets/so_setfib/Makefile
==============================================================================
--- head/tools/regression/sockets/so_setfib/Makefile Sat Apr 11 06:20:46 2015 (r281406)
+++ head/tools/regression/sockets/so_setfib/Makefile Sat Apr 11 06:38:50 2015 (r281407)
@@ -1,14 +1,16 @@
# $FreeBSD$
+.include <src.opts.mk>
+
PROG= so_setfib
MAN=
WARNS?= 6
-.ifdef INET6
-CFLAGS+= -DINET6
-.endif
-.ifdef INET
+.if ${MK_INET} != "no"
CFLAGS+= -DINET
.endif
+.if ${MK_INET6} != "no"
+CFLAGS+= -DINET6
+.endif
.include <bsd.prog.mk>
More information about the svn-src-head
mailing list