Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 18:44:29 +1100
From:      Rob B <rbyrnes@ozemail.com.au>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        questions@freebsd.org
Subject:   Re: make options
Message-ID:  <5.1.0.14.2.20011113184249.01fa0b80@pop.ozemail.com.au>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

<snip>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20011113184249.01fa0b80>