Index: usr.bin/Makefile =================================================================== --- usr.bin/Makefile +++ usr.bin/Makefile @@ -99,7 +99,6 @@ mkuzip \ mt \ ncal \ - netstat \ newgrp \ nfsstat \ nice \ @@ -222,6 +221,7 @@ SUBDIR.${MK_ICONV}+= iconv SUBDIR.${MK_ICONV}+= mkcsmapper SUBDIR.${MK_ICONV}+= mkesdb +SUBDIR.${MK_INET}+= netstat SUBDIR.${MK_ISCSI}+= iscsictl SUBDIR.${MK_KDUMP}+= kdump SUBDIR.${MK_KDUMP}+= truss Index: usr.sbin/syslogd/Makefile =================================================================== --- usr.sbin/syslogd/Makefile +++ usr.sbin/syslogd/Makefile @@ -11,10 +11,12 @@ LIBADD= util -.if ${MK_INET_SUPPORT} != "no" +#.if ${MK_INET_SUPPORT} != "no" +.if (${MK_INET} != "no" && ${MK_INET_SUPPORT} != "no") CFLAGS+= -DINET .endif -.if ${MK_INET6_SUPPORT} != "no" +#.if ${MK_INET6_SUPPORT} != "no" +.if (${MK_INET6} != "no" && ${MK_INET6_SUPPORT} != "no") CFLAGS+= -DINET6 .endif