diff --git a/sbin/Makefile b/sbin/Makefile index 7adaa929dee2..658f876f450f 100644 --- a/sbin/Makefile +++ b/sbin/Makefile @@ -65,7 +65,6 @@ SUBDIR=adjkerntz \ savecore \ setkey \ shutdown \ - spppcontrol \ swapon \ sysctl \ tunefs \ @@ -111,6 +110,10 @@ SUBDIR+= pfctl SUBDIR+= pflogd .endif +.if ${MK_PPP} != "no" +SUBDIR+= spppcontrol +.endif + .if ${MK_INET6} != "no" SUBDIR+= ping6 SUBDIR+= rtsol diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 4a29559a6265..1fcd50964a11 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -4682,10 +4682,12 @@ OLD_DIRS+=etc/ppp OLD_FILES+=etc/rc.d/ppp OLD_FILES+=etc/rc.d/pppoed OLD_FILES+=etc/rc.d/sppp +OLD_FILES+=sbin/spppcontrol OLD_FILES+=usr/sbin/ppp OLD_FILES+=usr/sbin/pppctl OLD_FILES+=usr/share/man/man8/ppp.8.gz OLD_FILES+=usr/share/man/man8/pppctl.8.gz +OLD_FILES+=usr/share/man/man8/spppcontrol.8.gz .endif .if ${MK_PROFILE} == no