From ddecfa0403e60912d4391c0a72e839d65f0ca050 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 11 Apr 2015 06:38:50 +0000 Subject: [PATCH] Fix the knob twiddling to work properly per src.opts.mk MFC after: 1 week Sponsored by: EMC / Isilon Storage Division --- tools/regression/sockets/so_setfib/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/regression/sockets/so_setfib/Makefile b/tools/regression/sockets/so_setfib/Makefile index fc12745e0c5..90111fb86bd 100644 --- a/tools/regression/sockets/so_setfib/Makefile +++ b/tools/regression/sockets/so_setfib/Makefile @@ -1,14 +1,16 @@ # $FreeBSD$ +.include + 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