configuration of ports

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Sep 14 02:53:16 PDT 2004


On Tue, Sep 14, 2004 at 03:15:14AM +0200, Simon Barner wrote:
> > You may want to check out /etc/defaults/make.conf. Just cp that file
> > to /etc/make.conf. That file is nicely documented in both man and the
> > file it's self.
> 
> No, please don't copy the file: /etc/make.conf should be used to
> override the defaults (or to set options that don't have default values).
> (This has been mentioned in the lists for numerous times, please check the
> archives for more details).

Actually make.conf is a special case.  Unlike say,
/etc/defaults/rc.conf or /etc/defaults/periodic.conf which contain the
default settings for the boot scripts or the periodic scripts, and
whose counterparts in /etc should contain only those settings
different to the defaults, and where you should never copy the whole
file from /etc/defaults to /etc. 

/etc/defaults/make.conf is not consulted by the make(1) system at all.
That's why it has been moved to /usr/share/examples/etc/make.conf in
5.x.  You can copy the default make.conf file into /etc as you wish.
Note that the default file has everything commented out, but copious
comments and examples of the most important make variables that you
can use to customise building anything that uses make(1).  Equally,
you can start with an empty file and just add in the settings you want
to change from the defaults.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040914/72bd52d9/attachment-0001.bin


More information about the freebsd-ports mailing list