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>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to