diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf index 85b3c0cd9087..bbcd54269a16 100644 --- a/etc/defaults/make.conf +++ b/etc/defaults/make.conf @@ -45,6 +45,7 @@ #NO_CVS= true # do not build CVS #NO_BIND= true # do not build BIND #NO_FORTRAN= true # do not build g77 and related libraries +#NO_LPR= true # do not build lpr and related programs #NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector #NO_MODULES= true # do not build modules with the kernel #NO_OBJC= true # do not build Objective C support diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index 85b3c0cd9087..bbcd54269a16 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -45,6 +45,7 @@ #NO_CVS= true # do not build CVS #NO_BIND= true # do not build BIND #NO_FORTRAN= true # do not build g77 and related libraries +#NO_LPR= true # do not build lpr and related programs #NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector #NO_MODULES= true # do not build modules with the kernel #NO_OBJC= true # do not build Objective C support diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index 3bfc8a09882c..6f13280398ba 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -43,7 +43,6 @@ SUBDIR= IPXrouted \ kbdmap \ kernbb \ keyserv \ - lpr \ manctl \ memcontrol \ mergemaster \ @@ -132,6 +131,10 @@ SUBDIR+=named \ nsupdate .endif +.if !defined(NO_LPR) +SUBDIR+=lpr +.endif + .if !defined(NO_MAILWRAPPER) SUBDIR+=mailwrapper .endif