From owner-freebsd-questions Mon Nov 12 23:44:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta03.mail.mel.aone.net.au (mta03.mail.au.uu.net [203.2.192.83]) by hub.freebsd.org (Postfix) with ESMTP id 9A27537B418 for ; Mon, 12 Nov 2001 23:44:36 -0800 (PST) Received: from ausyddtp0050.ozemail.com.au ([203.166.66.104]) by mta03.mail.mel.aone.net.au with ESMTP id <20011113074435.PQPL12856.mta03.mail.mel.aone.net.au@ausyddtp0050.ozemail.com.au>; Tue, 13 Nov 2001 18:44:35 +1100 Message-Id: <5.1.0.14.2.20011113184249.01fa0b80@pop.ozemail.com.au> X-Sender: rbyrnes@pop.ozemail.com.au X-Mailer: I wish it was Linux Date: Tue, 13 Nov 2001 18:44:29 +1100 To: Edwin Groothuis From: Rob B Subject: Re: make options Cc: questions@freebsd.org In-Reply-To: <20011113175516.F684@k7.mavetju.org> References: <5.1.0.14.2.20011113174628.01f3a730@pop.ozemail.com.au> <5.1.0.14.2.20011113162621.03a51ec0@pop.ozemail.com.au> <5.1.0.14.2.20011113162621.03a51ec0@pop.ozemail.com.au> <20011113174042.D684@k7.mavetju.org> <5.1.0.14.2.20011113174628.01f3a730@pop.ozemail.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 17:55 13/11/2001, Edwin Groothuis sent this up the stick: >On Tue, Nov 13, 2001 at 05:48:50PM +1100, Rob B wrote: > > >Putting them in /etc/make.conf would be a good idea, it also gives > > >you some space for documentation. > > > > Would this mean that the /etc/make.conf file would get huge? I mean, most > > ports are fine with the defaults, but if I have 6 or 7 ports that I > need to > > modify, wouldn't the makefile become rather large? > > > > Supposing I was to edit /etc/make.conf, how would I specify different > > options for different ports? > >Something like this: > >[~] edwin@k7>cat /etc/make.conf ># ># Option for OpenSSH (obsolete) ># >USA_RESIDENT=NO > ># ># Libpng can use this my 3l1t3 AMD CPU ># >WITH_PNG_MMX=YES > ># ># Came with XFree86-4 ># >XFREE86_VERSION=4 So, just to double check, I could do this? PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile MASTER_SORT_REGEX?= ^file: ^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ ://[^/]*\.au/ ://[^/]*\.au\. # /usr/ports/www/squid24 makefile options # - Enable ICMP pinging for heirarchy stats and selection --enable-icmp # - Enable logging of the User-Agent header --enable-useragent-log # - Kill parent (eg: RunCache) on shutdown (use with great care!!) --enable-kill-parent-hack # - Turn on SNMP server support --enable-snmp Wouldn't every make operation try to use these flags though? Thanks, Rob -- Was there dust on the mirror before Hui-Neng wiped it off? [15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian This is random quote 1068 of a collection of 1185 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message