changing configure options when using a port

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Jan 7 03:41:59 PST 2004


On Tue, Jan 06, 2004 at 12:52:21PM +0000, Matthew Seaman wrote:

> To apply these options without having to remember to type them in on
> the command line all the time, you can create a 'Makefile.inc' in the
> port directory which just contains the 'WITH_FOO=bar' variable
> assignments, or you can use portupgrade(1) and record these
> customizations in it's pkgtools.conf configuration file.

Oops. Slight correction here.  You should create 'Makefile.local'
rather than 'Makefile.inc' -- in the vast majority of cases it will
work either way, but 'Makefile.inc' is reserved for automatically
generated Makefiles produced as part of the configuration process, as
seen in eg. the net/samba port.  'Makefile.local' is guarranteed not
to be unconditionally overwritten by the internal workings of the
ports system.

	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-questions/attachments/20040107/7f9d4cec/attachment.bin


More information about the freebsd-questions mailing list