Date: Tue, 23 May 2000 22:43:26 -0400 (EDT) From: dgilbert@velocet.ca To: FreeBSD-gnats-submit@freebsd.org Subject: bin/18787: Make building of lpr optional Message-ID: <200005240243.WAA31917@strike.velocet.net>
next in thread | raw e-mail | index | archive | help
>Number: 18787 >Category: bin >Synopsis: To facilitate the use of LPRng, it would help if lpr didn't re-assert itself >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue May 23 20:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: David Gilbert >Release: FreeBSD 4.0-STABLE i386 >Organization: Velocet Communications >Environment: 4.0-STABLE build tree >Description: It is inconvenient that lpr continues to reassert itself when we're using LPRng. This patch is similar to the NO_SENDMAIL build flag >How-To-Repeat: make world >Fix: I think this is sufficient. Works here :). --- etc/defaults/make.conf.orig Tue May 23 22:37:39 2000 +++ etc/defaults/make.conf Tue May 23 22:37:44 2000 @@ -44,6 +44,7 @@ #NO_OPENSSH= true # do not build OpenSSH #NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH) #NO_SENDMAIL= true # do not build sendmail and related programs +#NO_LPR= true # do not build lpr and related programs #NO_X= true # do not compile in XWindows support (e.g. doscmd) #NOCRYPT= true # do not build any crypto code #NODESCRYPTLINKS=true # do not replace libcrypt -> libscrypt links --- usr.sbin/Makefile.orig Tue May 23 22:35:33 2000 +++ usr.sbin/Makefile Tue May 23 22:36:36 2000 @@ -41,7 +41,6 @@ kbdmap \ kernbb \ keyserv \ - lpr \ manctl \ memcontrol \ mergemaster \ @@ -127,6 +126,10 @@ ndc \ nslookup \ nsupdate +.endif + +.if !defined(NO_LPR) +SUBDIR+=lpr .endif .if !defined(NO_MAILWRAPPER) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005240243.WAA31917>